Package org.camunda.bpm.container.impl
Class RuntimeContainerDelegateImpl
- java.lang.Object
-
- org.camunda.bpm.container.impl.RuntimeContainerDelegateImpl
-
- All Implemented Interfaces:
RuntimeContainerDelegate,ProcessApplicationService,ProcessEngineService
public class RuntimeContainerDelegateImpl extends java.lang.Object implements RuntimeContainerDelegate, ProcessEngineService, ProcessApplicationService
This is the default
RuntimeContainerDelegateimplementation that delegates to the localMBeanServerinfrastructure. The MBeanServer is available as per the Java Virtual Machine and allows the process engine to expose Management Resources.- Author:
- Daniel Meyer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.camunda.bpm.container.RuntimeContainerDelegate
RuntimeContainerDelegate.RuntimeContainerDelegateInstance
-
-
Field Summary
Fields Modifier and Type Field Description protected static ContainerIntegrationLoggerLOGstatic java.lang.StringSERVICE_NAME_EXECUTORstatic java.lang.StringSERVICE_NAME_PLATFORM_PLUGINSprotected MBeanServiceContainerserviceContainer-
Fields inherited from interface org.camunda.bpm.container.RuntimeContainerDelegate
INSTANCE
-
-
Constructor Summary
Constructors Constructor Description RuntimeContainerDelegateImpl()
-
Method Summary
-
-
-
Field Detail
-
LOG
protected static final ContainerIntegrationLogger LOG
-
serviceContainer
protected MBeanServiceContainer serviceContainer
-
SERVICE_NAME_EXECUTOR
public static final java.lang.String SERVICE_NAME_EXECUTOR
- See Also:
- Constant Field Values
-
SERVICE_NAME_PLATFORM_PLUGINS
public static final java.lang.String SERVICE_NAME_PLATFORM_PLUGINS
- See Also:
- Constant Field Values
-
-
Method Detail
-
registerProcessEngine
public void registerProcessEngine(ProcessEngine processEngine)
Description copied from interface:RuntimeContainerDelegateAdds a managed
ProcessEngineto the runtime container.Process Engines registered through this method are returned by the
ProcessEngineService.- Specified by:
registerProcessEnginein interfaceRuntimeContainerDelegate
-
unregisterProcessEngine
public void unregisterProcessEngine(ProcessEngine processEngine)
Description copied from interface:RuntimeContainerDelegateUnregisters a managed
ProcessEngineinstance from the Runtime Container.- Specified by:
unregisterProcessEnginein interfaceRuntimeContainerDelegate
-
deployProcessApplication
public void deployProcessApplication(AbstractProcessApplication processApplication)
Description copied from interface:RuntimeContainerDelegateDeploy aAbstractProcessApplicationinto the runtime container.- Specified by:
deployProcessApplicationin interfaceRuntimeContainerDelegate
-
undeployProcessApplication
public void undeployProcessApplication(AbstractProcessApplication processApplication)
Description copied from interface:RuntimeContainerDelegateUndeploy aAbstractProcessApplicationfrom the runtime container.- Specified by:
undeployProcessApplicationin interfaceRuntimeContainerDelegate
-
getDeploymentSteps
protected java.util.List<DeploymentOperationStep> getDeploymentSteps()
-
getUndeploymentSteps
protected java.util.List<DeploymentOperationStep> getUndeploymentSteps()
-
getProcessEngineService
public ProcessEngineService getProcessEngineService()
- Specified by:
getProcessEngineServicein interfaceRuntimeContainerDelegate- Returns:
- the Container's
ProcessEngineServiceimplementation.
-
getProcessApplicationService
public ProcessApplicationService getProcessApplicationService()
- Specified by:
getProcessApplicationServicein interfaceRuntimeContainerDelegate- Returns:
- the Container's
ProcessApplicationServiceimplementation
-
getExecutorService
public ExecutorService getExecutorService()
- Specified by:
getExecutorServicein interfaceRuntimeContainerDelegate- Returns:
- the Runtime Container's
ExecutorServiceimplementation
-
getDefaultProcessEngine
public ProcessEngine getDefaultProcessEngine()
- Specified by:
getDefaultProcessEnginein interfaceProcessEngineService- Returns:
- the default process engine.
-
getProcessEngine
public ProcessEngine getProcessEngine(java.lang.String name)
- Specified by:
getProcessEnginein interfaceProcessEngineService- Returns:
- the
ProcessEnginefor the given name or null if no such process engine exists.
-
getProcessEngines
public java.util.List<ProcessEngine> getProcessEngines()
- Specified by:
getProcessEnginesin interfaceProcessEngineService- Returns:
- all
ProcessEnginesmanaged by the Camunda Platform.
-
getProcessEngineNames
public java.util.Set<java.lang.String> getProcessEngineNames()
- Specified by:
getProcessEngineNamesin interfaceProcessEngineService- Returns:
- the names of all
ProcessEnginesmanaged by the Camunda Platform.
-
getProcessApplicationNames
public java.util.Set<java.lang.String> getProcessApplicationNames()
- Specified by:
getProcessApplicationNamesin interfaceProcessApplicationService
-
getProcessApplicationInfo
public ProcessApplicationInfo getProcessApplicationInfo(java.lang.String processApplicationName)
Description copied from interface:ProcessApplicationServiceProvides information about a deployed process application
- Specified by:
getProcessApplicationInfoin interfaceProcessApplicationService- Returns:
- the
ProcessApplicationInfoobject or null if no such process application is deployed.
-
getDeployedProcessApplication
public ProcessApplicationReference getDeployedProcessApplication(java.lang.String processApplicationName)
- Specified by:
getDeployedProcessApplicationin interfaceRuntimeContainerDelegate- Returns:
- a reference to the process application with the given name if deployed; null otherwise
-
getServiceContainer
public PlatformServiceContainer getServiceContainer()
-
-