public class JmxRuntimeContainerDelegate 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.
Modifier and Type | Class and Description |
---|---|
static class |
JmxRuntimeContainerDelegate.ServiceTypes
The service types managed by this container.
|
RuntimeContainerDelegate.RuntimeContainerDelegateInstance
Modifier and Type | Field and Description |
---|---|
protected static String |
BASE_REALM |
protected static String |
ENGINE_REALM |
protected static String |
JOB_EXECUTOR_REALM |
protected static String |
PROCESS_APPLICATION_REALM |
static String |
SERVICE_NAME_EXECUTOR |
protected MBeanServiceContainer |
serviceContainer |
INSTANCE
Constructor and Description |
---|
JmxRuntimeContainerDelegate() |
protected static String BASE_REALM
protected static String ENGINE_REALM
protected static String JOB_EXECUTOR_REALM
protected static String PROCESS_APPLICATION_REALM
public static final String SERVICE_NAME_EXECUTOR
protected MBeanServiceContainer serviceContainer
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
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 MBeanServiceContainer getServiceContainer()
Copyright © 2015. All rights reserved.