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
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected final org.jboss.msc.value.InjectedValue<org.jboss.as.connector.subsystems.datasources.DataSourceReferenceFactoryService>protected org.jboss.msc.value.InjectedValue<ExecutorService>protected final org.jboss.msc.value.InjectedValue<MscRuntimeContainerJobExecutor>protected ManagedProcessEngineMetadataprotected final org.jboss.msc.value.InjectedValue<jakarta.transaction.TransactionManager>Fields inherited from class org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngine
processEngine, runtimeContainerDelegateInjectorFields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
ConstructorsConstructorDescriptionMscManagedProcessEngineController(ManagedProcessEngineMetadata processEngineConfiguration) Instantiate the process engine controller for a process engine configuration. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddProcessEnginePlugins(JakartaTransactionProcessEngineConfiguration processEngineConfiguration) org.jboss.msc.inject.Injector<org.jboss.as.connector.subsystems.datasources.DataSourceReferenceFactoryService>org.jboss.msc.value.InjectedValue<ExecutorService>org.jboss.msc.value.InjectedValue<MscRuntimeContainerJobExecutor>org.jboss.msc.inject.Injector<jakarta.transaction.TransactionManager>static voidinitializeServiceBuilder(ManagedProcessEngineMetadata processEngineConfiguration, MscManagedProcessEngineController service, org.jboss.msc.service.ServiceBuilder<ProcessEngine> serviceBuilder, String jobExecutorName) voidstart(org.jboss.msc.service.StartContext context) voidstartInternal(org.jboss.msc.service.StartContext context) protected voidvoidstop(org.jboss.msc.service.StopContext context) protected voidstopInternal(org.jboss.msc.service.StopContext context) Methods inherited from class org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngine
createProcessEngineJndiBinding, getRuntimeContainerDelegateInjector, getValue, removeProcessEngineJndiBinding
-
Field Details
-
CONNECT_PROCESS_ENGINE_PLUGIN_NAME
- See Also:
-
executorInjector
-
transactionManagerInjector
protected final org.jboss.msc.value.InjectedValue<jakarta.transaction.TransactionManager> transactionManagerInjector -
datasourceBinderServiceInjector
protected final org.jboss.msc.value.InjectedValue<org.jboss.as.connector.subsystems.datasources.DataSourceReferenceFactoryService> datasourceBinderServiceInjector -
mscRuntimeContainerJobExecutorInjector
protected final org.jboss.msc.value.InjectedValue<MscRuntimeContainerJobExecutor> mscRuntimeContainerJobExecutorInjector -
processEngineMetadata
-
processEngineConfiguration
-
-
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:
startin interfaceorg.jboss.msc.Service- Overrides:
startin classMscManagedProcessEngine- Throws:
org.jboss.msc.service.StartException
-
stop
public void stop(org.jboss.msc.service.StopContext context) - Specified by:
stopin interfaceorg.jboss.msc.Service- Overrides:
stopin 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
-
getTransactionManagerInjector
public org.jboss.msc.inject.Injector<jakarta.transaction.TransactionManager> getTransactionManagerInjector() -
getDatasourceBinderServiceInjector
public org.jboss.msc.inject.Injector<org.jboss.as.connector.subsystems.datasources.DataSourceReferenceFactoryService> getDatasourceBinderServiceInjector() -
getMscRuntimeContainerJobExecutorInjector
public org.jboss.msc.value.InjectedValue<MscRuntimeContainerJobExecutor> getMscRuntimeContainerJobExecutorInjector() -
initializeServiceBuilder
public static void initializeServiceBuilder(ManagedProcessEngineMetadata processEngineConfiguration, MscManagedProcessEngineController service, org.jboss.msc.service.ServiceBuilder<ProcessEngine> serviceBuilder, String jobExecutorName) -
getProcessEngine
-
getExecutorInjector
-
getProcessEngineMetadata
-