Class MscManagedProcessEngineController
java.lang.Object
org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngine
org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngineController
- All Implemented Interfaces:
org.jboss.msc.Service
,org.jboss.msc.service.Service<ProcessEngine>
,org.jboss.msc.value.Value<ProcessEngine>
Service responsible for starting / stopping a managed process engine inside the Msc
This service is used for managing process engines that are started / stopped through the application server management infrastructure.
This is the Msc counterpart of the JmxManagedProcessEngineController
- Author:
- Daniel Meyer
-
Field Summary
Modifier and TypeFieldDescriptionprotected Supplier<org.jboss.as.connector.subsystems.datasources.DataSourceReferenceFactoryService>
protected Supplier<ExecutorService>
protected Supplier<MscRuntimeContainerJobExecutor>
protected final List<Consumer<ProcessEngine>>
protected ManagedProcessEngineMetadata
protected Supplier<jakarta.transaction.TransactionManager>
Fields inherited from class org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngine
processEngine, runtimeContainerDelegateSupplier
Fields inherited from interface org.jboss.msc.service.Service
NULL
-
Constructor Summary
ConstructorDescriptionMscManagedProcessEngineController
(ManagedProcessEngineMetadata processEngineConfiguration) Instantiate the process engine controller for a process engine configuration. -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addProcessEnginePlugins
(JakartaTransactionProcessEngineConfiguration processEngineConfiguration) void
initializeServiceBuilder
(ManagedProcessEngineMetadata processEngineConfiguration, org.jboss.msc.service.ServiceBuilder<?> serviceBuilder, org.jboss.msc.service.ServiceName name, String jobExecutorName) void
start
(org.jboss.msc.service.StartContext context) void
startInternal
(org.jboss.msc.service.StartContext context) protected void
void
stop
(org.jboss.msc.service.StopContext context) protected void
stopInternal
(org.jboss.msc.service.StopContext context) Methods inherited from class org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngine
createProcessEngineJndiBinding, getRuntimeContainerDelegateSupplier, getValue, removeProcessEngineJndiBinding
-
Field Details
-
executorSupplier
-
transactionManagerSupplier
-
datasourceBinderServiceSupplier
protected Supplier<org.jboss.as.connector.subsystems.datasources.DataSourceReferenceFactoryService> datasourceBinderServiceSupplier -
mscRuntimeContainerJobExecutorSupplier
-
processEngineMetadata
-
processEngineConfiguration
-
processEngineConsumers
-
-
Constructor Details
-
MscManagedProcessEngineController
Instantiate the process engine controller for a process engine configuration.
-
-
Method Details
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException - Specified by:
start
in interfaceorg.jboss.msc.Service
- Overrides:
start
in classMscManagedProcessEngine
- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stop
in interfaceorg.jboss.msc.Service
- Overrides:
stop
in classMscManagedProcessEngine
-
stopInternal
protected void stopInternal(org.jboss.msc.service.StopContext context) -
startInternal
public void startInternal(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException - Throws:
org.jboss.msc.service.StartException
-
startProcessEngine
protected void startProcessEngine() -
addProcessEnginePlugins
protected void addProcessEnginePlugins(JakartaTransactionProcessEngineConfiguration processEngineConfiguration) -
createProcessEngineConfiguration
-
initializeServiceBuilder
public void initializeServiceBuilder(ManagedProcessEngineMetadata processEngineConfiguration, org.jboss.msc.service.ServiceBuilder<?> serviceBuilder, org.jboss.msc.service.ServiceName name, String jobExecutorName) -
getProcessEngine
-
getProcessEngineMetadata
-