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 Object
implements RuntimeContainerDelegate, ProcessEngineService, ProcessApplicationService
This is the default RuntimeContainerDelegate implementation that delegates
to the local MBeanServer infrastructure. 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
FieldsModifier and TypeFieldDescriptionprotected static final ContainerIntegrationLoggerstatic final Stringstatic final Stringprotected MBeanServiceContainerFields inherited from interface org.camunda.bpm.container.RuntimeContainerDelegate
INSTANCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeployProcessApplication(AbstractProcessApplication processApplication) Deploy aAbstractProcessApplicationinto the runtime container.getDeployedProcessApplication(String processApplicationName) protected List<DeploymentOperationStep>getProcessApplicationInfo(String processApplicationName) Provides information about a deployed process applicationgetProcessEngine(String name) protected List<DeploymentOperationStep>voidregisterProcessEngine(ProcessEngine processEngine) Adds a managedProcessEngineto the runtime container.voidundeployProcessApplication(AbstractProcessApplication processApplication) Undeploy aAbstractProcessApplicationfrom the runtime container.voidunregisterProcessEngine(ProcessEngine processEngine) Unregisters a managedProcessEngineinstance from the Runtime Container.
-
Field Details
-
LOG
-
serviceContainer
-
SERVICE_NAME_EXECUTOR
- See Also:
-
SERVICE_NAME_PLATFORM_PLUGINS
- See Also:
-
-
Constructor Details
-
RuntimeContainerDelegateImpl
public RuntimeContainerDelegateImpl()
-
-
Method Details
-
registerProcessEngine
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
Description copied from interface:RuntimeContainerDelegateUnregisters a managed
ProcessEngineinstance from the Runtime Container.- Specified by:
unregisterProcessEnginein interfaceRuntimeContainerDelegate
-
deployProcessApplication
Description copied from interface:RuntimeContainerDelegateDeploy aAbstractProcessApplicationinto the runtime container.- Specified by:
deployProcessApplicationin interfaceRuntimeContainerDelegate
-
undeployProcessApplication
Description copied from interface:RuntimeContainerDelegateUndeploy aAbstractProcessApplicationfrom the runtime container.- Specified by:
undeployProcessApplicationin interfaceRuntimeContainerDelegate
-
getDeploymentSteps
-
getUndeploymentSteps
-
getProcessEngineService
- Specified by:
getProcessEngineServicein interfaceRuntimeContainerDelegate- Returns:
- the Container's
ProcessEngineServiceimplementation.
-
getProcessApplicationService
- Specified by:
getProcessApplicationServicein interfaceRuntimeContainerDelegate- Returns:
- the Container's
ProcessApplicationServiceimplementation
-
getExecutorService
- Specified by:
getExecutorServicein interfaceRuntimeContainerDelegate- Returns:
- the Runtime Container's
ExecutorServiceimplementation
-
getDefaultProcessEngine
- Specified by:
getDefaultProcessEnginein interfaceProcessEngineService- Returns:
- the default process engine.
-
getProcessEngine
- Specified by:
getProcessEnginein interfaceProcessEngineService- Returns:
- the
ProcessEnginefor the given name or null if no such process engine exists.
-
getProcessEngines
- Specified by:
getProcessEnginesin interfaceProcessEngineService- Returns:
- all
ProcessEnginesmanaged by the Camunda Platform.
-
getProcessEngineNames
- Specified by:
getProcessEngineNamesin interfaceProcessEngineService- Returns:
- the names of all
ProcessEnginesmanaged by the Camunda Platform.
-
getProcessApplicationNames
- Specified by:
getProcessApplicationNamesin interfaceProcessApplicationService
-
getProcessApplicationInfo
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
- Specified by:
getDeployedProcessApplicationin interfaceRuntimeContainerDelegate- Returns:
- a reference to the process application with the given name if deployed; null otherwise
-
getServiceContainer
-