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
Modifier and TypeFieldDescriptionprotected static final ContainerIntegrationLogger
static final String
static final String
protected MBeanServiceContainer
Fields inherited from interface org.camunda.bpm.container.RuntimeContainerDelegate
INSTANCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deployProcessApplication
(AbstractProcessApplication processApplication) Deploy aAbstractProcessApplication
into the runtime container.getDeployedProcessApplication
(String processApplicationName) protected List<DeploymentOperationStep>
getProcessApplicationInfo
(String processApplicationName) Provides information about a deployed process applicationgetProcessEngine
(String name) protected List<DeploymentOperationStep>
void
registerProcessEngine
(ProcessEngine processEngine) Adds a managedProcessEngine
to the runtime container.void
undeployProcessApplication
(AbstractProcessApplication processApplication) Undeploy aAbstractProcessApplication
from the runtime container.void
unregisterProcessEngine
(ProcessEngine processEngine) Unregisters a managedProcessEngine
instance 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:RuntimeContainerDelegate
Adds a managed
ProcessEngine
to the runtime container.Process Engines registered through this method are returned by the
ProcessEngineService
.- Specified by:
registerProcessEngine
in interfaceRuntimeContainerDelegate
-
unregisterProcessEngine
Description copied from interface:RuntimeContainerDelegate
Unregisters a managed
ProcessEngine
instance from the Runtime Container.- Specified by:
unregisterProcessEngine
in interfaceRuntimeContainerDelegate
-
deployProcessApplication
Description copied from interface:RuntimeContainerDelegate
Deploy aAbstractProcessApplication
into the runtime container.- Specified by:
deployProcessApplication
in interfaceRuntimeContainerDelegate
-
undeployProcessApplication
Description copied from interface:RuntimeContainerDelegate
Undeploy aAbstractProcessApplication
from the runtime container.- Specified by:
undeployProcessApplication
in interfaceRuntimeContainerDelegate
-
getDeploymentSteps
-
getUndeploymentSteps
-
getProcessEngineService
- Specified by:
getProcessEngineService
in interfaceRuntimeContainerDelegate
- Returns:
- the Container's
ProcessEngineService
implementation.
-
getProcessApplicationService
- Specified by:
getProcessApplicationService
in interfaceRuntimeContainerDelegate
- Returns:
- the Container's
ProcessApplicationService
implementation
-
getExecutorService
- Specified by:
getExecutorService
in interfaceRuntimeContainerDelegate
- Returns:
- the Runtime Container's
ExecutorService
implementation
-
getDefaultProcessEngine
- Specified by:
getDefaultProcessEngine
in interfaceProcessEngineService
- Returns:
- the default process engine.
-
getProcessEngine
- Specified by:
getProcessEngine
in interfaceProcessEngineService
- Returns:
- the
ProcessEngine
for the given name or null if no such process engine exists.
-
getProcessEngines
- Specified by:
getProcessEngines
in interfaceProcessEngineService
- Returns:
- all
ProcessEngines
managed by the Camunda Platform.
-
getProcessEngineNames
- Specified by:
getProcessEngineNames
in interfaceProcessEngineService
- Returns:
- the names of all
ProcessEngines
managed by the Camunda Platform.
-
getProcessApplicationNames
- Specified by:
getProcessApplicationNames
in interfaceProcessApplicationService
- Returns:
- the names of all deployed process applications
-
getProcessApplicationInfo
Description copied from interface:ProcessApplicationService
Provides information about a deployed process application
- Specified by:
getProcessApplicationInfo
in interfaceProcessApplicationService
- Returns:
- the
ProcessApplicationInfo
object or null if no such process application is deployed.
-
getDeployedProcessApplication
- Specified by:
getDeployedProcessApplication
in interfaceRuntimeContainerDelegate
- Returns:
- a reference to the process application with the given name if deployed; null otherwise
-
getServiceContainer
-