Class JmxManagedProcessEngine
- java.lang.Object
-
- org.camunda.bpm.container.impl.jmx.services.JmxManagedProcessEngine
-
- All Implemented Interfaces:
JmxManagedProcessEngineMBean
,PlatformService<ProcessEngine>
- Direct Known Subclasses:
JmxManagedProcessEngineController
public class JmxManagedProcessEngine extends java.lang.Object implements PlatformService<ProcessEngine>, JmxManagedProcessEngineMBean
Represents a process engine managed by the
MBeanServiceContainer
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessEngine
processEngine
-
Constructor Summary
Constructors Modifier Constructor Description protected
JmxManagedProcessEngine()
JmxManagedProcessEngine(ProcessEngine processEngine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
ProcessEngine
getProcessEngine()
java.util.Set<java.lang.String>
getRegisteredDeployments()
If the engine's job executor is deloyment aware, these are the deployments it acquires jobs for.ProcessEngine
getValue()
void
registerDeployment(java.lang.String deploymentId)
void
reportDbMetrics()
void
start(PlatformServiceContainer contanier)
void
stop(PlatformServiceContainer container)
void
unregisterDeployment(java.lang.String deploymentId)
-
-
-
Field Detail
-
processEngine
protected ProcessEngine processEngine
-
-
Constructor Detail
-
JmxManagedProcessEngine
protected JmxManagedProcessEngine()
-
JmxManagedProcessEngine
public JmxManagedProcessEngine(ProcessEngine processEngine)
-
-
Method Detail
-
start
public void start(PlatformServiceContainer contanier)
- Specified by:
start
in interfacePlatformService<ProcessEngine>
-
stop
public void stop(PlatformServiceContainer container)
- Specified by:
stop
in interfacePlatformService<ProcessEngine>
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceJmxManagedProcessEngineMBean
- Returns:
- the name of the
ProcessEngine
-
getProcessEngine
public ProcessEngine getProcessEngine()
-
getValue
public ProcessEngine getValue()
- Specified by:
getValue
in interfacePlatformService<ProcessEngine>
-
getRegisteredDeployments
public java.util.Set<java.lang.String> getRegisteredDeployments()
Description copied from interface:JmxManagedProcessEngineMBean
If the engine's job executor is deloyment aware, these are the deployments it acquires jobs for.- Specified by:
getRegisteredDeployments
in interfaceJmxManagedProcessEngineMBean
- Returns:
- all deployments that are registered with this
ProcessEngine
-
registerDeployment
public void registerDeployment(java.lang.String deploymentId)
- Specified by:
registerDeployment
in interfaceJmxManagedProcessEngineMBean
-
unregisterDeployment
public void unregisterDeployment(java.lang.String deploymentId)
- Specified by:
unregisterDeployment
in interfaceJmxManagedProcessEngineMBean
-
reportDbMetrics
public void reportDbMetrics()
- Specified by:
reportDbMetrics
in interfaceJmxManagedProcessEngineMBean
-
-