public class MscRuntimeContainerDelegate extends Object implements org.jboss.msc.service.Service<MscRuntimeContainerDelegate>, RuntimeContainerDelegate, ProcessEngineService, ProcessApplicationService
A RuntimeContainerDelegate implementation for JBoss AS 7
RuntimeContainerDelegate.RuntimeContainerDelegateInstance| Modifier and Type | Field and Description |
|---|---|
protected org.jboss.msc.service.ServiceTarget |
childTarget |
protected Set<MscManagedProcessApplication> |
processApplications |
protected ServiceTracker<MscManagedProcessApplication> |
processApplicationServiceTracker |
protected Set<ProcessEngine> |
processEngines |
protected ServiceTracker<ProcessEngine> |
processEngineServiceTracker |
protected org.jboss.msc.service.ServiceContainer |
serviceContainer |
INSTANCE| Constructor and Description |
|---|
MscRuntimeContainerDelegate() |
protected org.jboss.msc.service.ServiceTarget childTarget
protected org.jboss.msc.service.ServiceContainer serviceContainer
protected ServiceTracker<ProcessEngine> processEngineServiceTracker
protected Set<ProcessEngine> processEngines
protected ServiceTracker<MscManagedProcessApplication> processApplicationServiceTracker
protected Set<MscManagedProcessApplication> processApplications
public void start(org.jboss.msc.service.StartContext context)
throws org.jboss.msc.service.StartException
start in interface org.jboss.msc.Serviceorg.jboss.msc.service.StartExceptionpublic void stop(org.jboss.msc.service.StopContext context)
stop in interface org.jboss.msc.Servicepublic MscRuntimeContainerDelegate getValue() throws IllegalStateException, IllegalArgumentException
getValue in interface org.jboss.msc.value.Value<MscRuntimeContainerDelegate>IllegalStateExceptionIllegalArgumentExceptionpublic void registerProcessEngine(ProcessEngine processEngine)
RuntimeContainerDelegateAdds a managed ProcessEngine to the runtime container.
Process Engines registered through this method are returned by the ProcessEngineService.
registerProcessEngine in interface RuntimeContainerDelegatepublic void unregisterProcessEngine(ProcessEngine processEngine)
RuntimeContainerDelegateUnregisters a managed ProcessEngine instance from the Runtime Container.
unregisterProcessEngine in interface RuntimeContainerDelegatepublic void deployProcessApplication(AbstractProcessApplication processApplication)
RuntimeContainerDelegateAbstractProcessApplication into the runtime container.deployProcessApplication in interface RuntimeContainerDelegateprotected void deployServletProcessApplication(ServletProcessApplication processApplication)
public void undeployProcessApplication(AbstractProcessApplication processApplication)
RuntimeContainerDelegateAbstractProcessApplication from the runtime container.undeployProcessApplication in interface RuntimeContainerDelegatepublic ProcessEngineService getProcessEngineService()
getProcessEngineService in interface RuntimeContainerDelegateProcessEngineService implementation.public ProcessApplicationService getProcessApplicationService()
getProcessApplicationService in interface RuntimeContainerDelegateProcessApplicationService implementationpublic ExecutorService getExecutorService()
getExecutorService in interface RuntimeContainerDelegateExecutorService implementationpublic ProcessEngine getDefaultProcessEngine()
getDefaultProcessEngine in interface ProcessEngineServicepublic List<ProcessEngine> getProcessEngines()
getProcessEngines in interface ProcessEngineServiceProcessEngines managed by the Camunda Platform.public Set<String> getProcessEngineNames()
getProcessEngineNames in interface ProcessEngineServiceProcessEngines managed by the Camunda Platform.public ProcessEngine getProcessEngine(String name)
getProcessEngine in interface ProcessEngineServiceProcessEngine for the given name or null if no such process engine exists.public ProcessApplicationInfo getProcessApplicationInfo(String processApplicationName)
ProcessApplicationServiceProvides information about a deployed process application
getProcessApplicationInfo in interface ProcessApplicationServiceProcessApplicationInfo object or null if no such process application is deployed.public Set<String> getProcessApplicationNames()
getProcessApplicationNames in interface ProcessApplicationServicepublic ProcessApplicationReference getDeployedProcessApplication(String name)
getDeployedProcessApplication in interface RuntimeContainerDelegateprotected void createProcessEngineServiceJndiBindings()
protected void createJndiBindings()
protected ProcessEngine getProcessEngineService(org.jboss.msc.service.ServiceName processEngineServiceName)
protected org.jboss.msc.service.ServiceController<ProcessEngine> getProcessEngineServiceController(org.jboss.msc.service.ServiceName processEngineServiceName)
protected void startTrackingServices()
protected void stopTrackingServices()
public void processEngineStarted(ProcessEngine processEngine)
invoked by the MscManagedProcessEngine and MscManagedProcessEngineController
when a process engine is started
public void processEngineStopped(ProcessEngine processEngine)
invoked by the MscManagedProcessEngine and MscManagedProcessEngineController
when a process engine is stopped
protected MscManagedProcessApplication getManagedProcessApplication(String name)
Copyright © 2021. All rights reserved.