public class MscManagedProcessEngineController extends MscManagedProcessEngine
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
Modifier and Type | Field and Description |
---|---|
protected org.jboss.msc.value.InjectedValue<org.jboss.as.connector.subsystems.datasources.DataSourceReferenceFactoryService> |
datasourceBinderServiceInjector |
protected org.jboss.msc.value.InjectedValue<ExecutorService> |
executorInjector |
protected org.jboss.msc.value.InjectedValue<MscRuntimeContainerJobExecutor> |
mscRuntimeContainerJobExecutorInjector |
protected JtaProcessEngineConfiguration |
processEngineConfiguration |
protected ManagedProcessEngineMetadata |
processEngineMetadata |
protected org.jboss.msc.value.InjectedValue<TransactionManager> |
transactionManagerInjector |
processEngine, runtimeContainerDelegateInjector
Constructor and Description |
---|
MscManagedProcessEngineController(ManagedProcessEngineMetadata processEngineConfiguration)
Instantiate the process engine controller for a process engine configuration.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addProcessEnginePlugins(JtaProcessEngineConfiguration processEngineConfiguration) |
protected JtaProcessEngineConfiguration |
createProcessEngineConfiguration() |
org.jboss.msc.inject.Injector<org.jboss.as.connector.subsystems.datasources.DataSourceReferenceFactoryService> |
getDatasourceBinderServiceInjector() |
org.jboss.msc.value.InjectedValue<ExecutorService> |
getExecutorInjector() |
org.jboss.msc.value.InjectedValue<MscRuntimeContainerJobExecutor> |
getMscRuntimeContainerJobExecutorInjector() |
ProcessEngine |
getProcessEngine() |
ManagedProcessEngineMetadata |
getProcessEngineMetadata() |
org.jboss.msc.inject.Injector<TransactionManager> |
getTransactionManagerInjector() |
static void |
initializeServiceBuilder(ManagedProcessEngineMetadata processEngineConfiguration,
MscManagedProcessEngineController service,
org.jboss.msc.service.ServiceBuilder<ProcessEngine> serviceBuilder,
String jobExecutorName) |
void |
start(org.jboss.msc.service.StartContext context) |
void |
startInternal(org.jboss.msc.service.StartContext context) |
protected void |
startProcessEngine() |
void |
stop(org.jboss.msc.service.StopContext context) |
protected void |
stopInternal(org.jboss.msc.service.StopContext context) |
createProcessEngineJndiBinding, getRuntimeContainerDelegateInjector, getValue, removeProcessEngineJndiBinding
protected org.jboss.msc.value.InjectedValue<ExecutorService> executorInjector
protected final org.jboss.msc.value.InjectedValue<TransactionManager> transactionManagerInjector
protected final org.jboss.msc.value.InjectedValue<org.jboss.as.connector.subsystems.datasources.DataSourceReferenceFactoryService> datasourceBinderServiceInjector
protected final org.jboss.msc.value.InjectedValue<MscRuntimeContainerJobExecutor> mscRuntimeContainerJobExecutorInjector
protected ManagedProcessEngineMetadata processEngineMetadata
protected JtaProcessEngineConfiguration processEngineConfiguration
public MscManagedProcessEngineController(ManagedProcessEngineMetadata processEngineConfiguration)
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.Service
start
in class MscManagedProcessEngine
org.jboss.msc.service.StartException
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.Service
stop
in class MscManagedProcessEngine
protected void stopInternal(org.jboss.msc.service.StopContext context)
public void startInternal(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
org.jboss.msc.service.StartException
protected void startProcessEngine()
protected void addProcessEnginePlugins(JtaProcessEngineConfiguration processEngineConfiguration)
protected JtaProcessEngineConfiguration createProcessEngineConfiguration()
public org.jboss.msc.inject.Injector<TransactionManager> getTransactionManagerInjector()
public org.jboss.msc.inject.Injector<org.jboss.as.connector.subsystems.datasources.DataSourceReferenceFactoryService> getDatasourceBinderServiceInjector()
public org.jboss.msc.value.InjectedValue<MscRuntimeContainerJobExecutor> getMscRuntimeContainerJobExecutorInjector()
public static void initializeServiceBuilder(ManagedProcessEngineMetadata processEngineConfiguration, MscManagedProcessEngineController service, org.jboss.msc.service.ServiceBuilder<ProcessEngine> serviceBuilder, String jobExecutorName)
public ProcessEngine getProcessEngine()
public org.jboss.msc.value.InjectedValue<ExecutorService> getExecutorInjector()
public ManagedProcessEngineMetadata getProcessEngineMetadata()
Copyright © 2020. All rights reserved.