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 static String |
CONNECT_PROCESS_ENGINE_PLUGIN_NAME |
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, removeProcessEngineJndiBindingprotected static final String CONNECT_PROCESS_ENGINE_PLUGIN_NAME
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.Servicestart in class MscManagedProcessEngineorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.Servicestop in class MscManagedProcessEngineprotected 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.StartExceptionprotected 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 © 2022. All rights reserved.