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 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 String
getName()
ProcessEngine
getProcessEngine()
Set<String>
getRegisteredDeployments()
If the engine's job executor is deloyment aware, these are the deployments it acquires jobs for.ProcessEngine
getValue()
void
registerDeployment(String deploymentId)
void
reportDbMetrics()
void
start(PlatformServiceContainer contanier)
void
stop(PlatformServiceContainer container)
void
unregisterDeployment(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 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 Set<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(String deploymentId)
- Specified by:
registerDeployment
in interfaceJmxManagedProcessEngineMBean
-
unregisterDeployment
public void unregisterDeployment(String deploymentId)
- Specified by:
unregisterDeployment
in interfaceJmxManagedProcessEngineMBean
-
reportDbMetrics
public void reportDbMetrics()
- Specified by:
reportDbMetrics
in interfaceJmxManagedProcessEngineMBean
-
-