org.camunda.bpm.container.impl.jmx.services
Class JmxManagedProcessEngine

java.lang.Object
  extended by 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
protected  ProcessEngine processEngine
           
 
Constructor Summary
protected JmxManagedProcessEngine()
           
  JmxManagedProcessEngine(ProcessEngine processEngine)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 interface PlatformService<ProcessEngine>

stop

public void stop(PlatformServiceContainer container)
Specified by:
stop in interface PlatformService<ProcessEngine>

getName

public String getName()
Specified by:
getName in interface JmxManagedProcessEngineMBean
Returns:
the name of the ProcessEngine

getProcessEngine

public ProcessEngine getProcessEngine()

getValue

public ProcessEngine getValue()
Specified by:
getValue in interface PlatformService<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 interface JmxManagedProcessEngineMBean
Returns:
all deployments that are registered with this ProcessEngine

registerDeployment

public void registerDeployment(String deploymentId)
Specified by:
registerDeployment in interface JmxManagedProcessEngineMBean

unregisterDeployment

public void unregisterDeployment(String deploymentId)
Specified by:
unregisterDeployment in interface JmxManagedProcessEngineMBean

reportDbMetrics

public void reportDbMetrics()
Specified by:
reportDbMetrics in interface JmxManagedProcessEngineMBean


Copyright © 2015 camunda services GmbH. All rights reserved.