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.
RuntimeContainerDelegate.RuntimeContainerDelegateInstance
Modifier and Type | Field and Description |
---|---|
protected static ContainerIntegrationLogger |
LOG |
static String |
SERVICE_NAME_EXECUTOR |
static String |
SERVICE_NAME_PLATFORM_PLUGINS |
protected MBeanServiceContainer |
serviceContainer |
INSTANCE
Constructor and Description |
---|
RuntimeContainerDelegateImpl() |
protected static final ContainerIntegrationLogger LOG
protected MBeanServiceContainer serviceContainer
public static final String SERVICE_NAME_EXECUTOR
public static final String SERVICE_NAME_PLATFORM_PLUGINS
public void registerProcessEngine(ProcessEngine processEngine)
RuntimeContainerDelegate
Adds a managed ProcessEngine
to the runtime container.
Process Engines registered through this method are returned by the ProcessEngineService
.
registerProcessEngine
in interface RuntimeContainerDelegate
public void unregisterProcessEngine(ProcessEngine processEngine)
RuntimeContainerDelegate
Unregisters a managed ProcessEngine
instance from the Runtime Container.
unregisterProcessEngine
in interface RuntimeContainerDelegate
public void deployProcessApplication(AbstractProcessApplication processApplication)
RuntimeContainerDelegate
AbstractProcessApplication
into the runtime container.deployProcessApplication
in interface RuntimeContainerDelegate
public void undeployProcessApplication(AbstractProcessApplication processApplication)
RuntimeContainerDelegate
AbstractProcessApplication
from the runtime container.undeployProcessApplication
in interface RuntimeContainerDelegate
protected List<DeploymentOperationStep> getDeploymentSteps()
protected List<DeploymentOperationStep> getUndeploymentSteps()
public ProcessEngineService getProcessEngineService()
getProcessEngineService
in interface RuntimeContainerDelegate
ProcessEngineService
implementation.public ProcessApplicationService getProcessApplicationService()
getProcessApplicationService
in interface RuntimeContainerDelegate
ProcessApplicationService
implementationpublic ExecutorService getExecutorService()
getExecutorService
in interface RuntimeContainerDelegate
ExecutorService
implementationpublic ProcessEngine getDefaultProcessEngine()
getDefaultProcessEngine
in interface ProcessEngineService
public ProcessEngine getProcessEngine(String name)
getProcessEngine
in interface ProcessEngineService
ProcessEngine
for the given name or null if no such process engine exists.public List<ProcessEngine> getProcessEngines()
getProcessEngines
in interface ProcessEngineService
ProcessEngines
managed by the camunda BPM platform.public Set<String> getProcessEngineNames()
getProcessEngineNames
in interface ProcessEngineService
ProcessEngines
managed by the camunda BPM platform.public Set<String> getProcessApplicationNames()
getProcessApplicationNames
in interface ProcessApplicationService
public ProcessApplicationInfo getProcessApplicationInfo(String processApplicationName)
ProcessApplicationService
Provides information about a deployed process application
getProcessApplicationInfo
in interface ProcessApplicationService
ProcessApplicationInfo
object or null if no such process application is deployed.public ProcessApplicationReference getDeployedProcessApplication(String processApplicationName)
getDeployedProcessApplication
in interface RuntimeContainerDelegate
public PlatformServiceContainer getServiceContainer()
Copyright © 2018. All rights reserved.