Class MscManagedProcessEngine
- java.lang.Object
 - 
- org.camunda.bpm.container.impl.jboss.service.MscManagedProcessEngine
 
 
- 
- All Implemented Interfaces:
 org.jboss.msc.Service,org.jboss.msc.service.Service<ProcessEngine>,org.jboss.msc.value.Value<ProcessEngine>
- Direct Known Subclasses:
 MscManagedProcessEngineController
public class MscManagedProcessEngine extends java.lang.Object implements org.jboss.msc.service.Service<ProcessEngine>
Service representing a managed process engine instance registered with the Msc.
Instances of this service are created and registered by the
MscRuntimeContainerDelegatewhenMscRuntimeContainerDelegate.registerProcessEngine(ProcessEngine)is called.This is the JBoass Msc counterpart of the
JmxManagedProcessEngine- Author:
 - Daniel Meyer
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected ProcessEngineprocessEnginethe process engine managed by this serviceprotected org.jboss.msc.value.InjectedValue<MscRuntimeContainerDelegate>runtimeContainerDelegateInjector 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedMscManagedProcessEngine()MscManagedProcessEngine(ProcessEngine processEngine) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcreateProcessEngineJndiBinding(org.jboss.msc.service.StartContext context)org.jboss.msc.inject.Injector<MscRuntimeContainerDelegate>getRuntimeContainerDelegateInjector()ProcessEnginegetValue()protected voidremoveProcessEngineJndiBinding()voidstart(org.jboss.msc.service.StartContext context)voidstop(org.jboss.msc.service.StopContext context) 
 - 
 
- 
- 
Field Detail
- 
runtimeContainerDelegateInjector
protected org.jboss.msc.value.InjectedValue<MscRuntimeContainerDelegate> runtimeContainerDelegateInjector
 
- 
processEngine
protected ProcessEngine processEngine
the process engine managed by this service 
 - 
 
- 
Constructor Detail
- 
MscManagedProcessEngine
protected MscManagedProcessEngine()
 
- 
MscManagedProcessEngine
public MscManagedProcessEngine(ProcessEngine processEngine)
 
 - 
 
- 
Method Detail
- 
getValue
public ProcessEngine getValue() throws java.lang.IllegalStateException, java.lang.IllegalArgumentException
- Specified by:
 getValuein interfaceorg.jboss.msc.value.Value<ProcessEngine>- Throws:
 java.lang.IllegalStateExceptionjava.lang.IllegalArgumentException
 
- 
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException- Specified by:
 startin interfaceorg.jboss.msc.Service- Specified by:
 startin interfaceorg.jboss.msc.service.Service<ProcessEngine>- Throws:
 org.jboss.msc.service.StartException
 
- 
createProcessEngineJndiBinding
protected void createProcessEngineJndiBinding(org.jboss.msc.service.StartContext context)
 
- 
removeProcessEngineJndiBinding
protected void removeProcessEngineJndiBinding()
 
- 
stop
public void stop(org.jboss.msc.service.StopContext context)
- Specified by:
 stopin interfaceorg.jboss.msc.Service- Specified by:
 stopin interfaceorg.jboss.msc.service.Service<ProcessEngine>
 
- 
getRuntimeContainerDelegateInjector
public org.jboss.msc.inject.Injector<MscRuntimeContainerDelegate> getRuntimeContainerDelegateInjector()
 
 - 
 
 -