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
MscRuntimeContainerDelegate
whenMscRuntimeContainerDelegate.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 ProcessEngine
processEngine
the process engine managed by this serviceprotected org.jboss.msc.value.InjectedValue<MscRuntimeContainerDelegate>
runtimeContainerDelegateInjector
-
Constructor Summary
Constructors Modifier Constructor Description protected
MscManagedProcessEngine()
MscManagedProcessEngine(ProcessEngine processEngine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
createProcessEngineJndiBinding(org.jboss.msc.service.StartContext context)
org.jboss.msc.inject.Injector<MscRuntimeContainerDelegate>
getRuntimeContainerDelegateInjector()
ProcessEngine
getValue()
protected void
removeProcessEngineJndiBinding()
void
start(org.jboss.msc.service.StartContext context)
void
stop(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:
getValue
in interfaceorg.jboss.msc.value.Value<ProcessEngine>
- Throws:
java.lang.IllegalStateException
java.lang.IllegalArgumentException
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
- Specified by:
start
in interfaceorg.jboss.msc.Service
- Specified by:
start
in 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:
stop
in interfaceorg.jboss.msc.Service
- Specified by:
stop
in interfaceorg.jboss.msc.service.Service<ProcessEngine>
-
getRuntimeContainerDelegateInjector
public org.jboss.msc.inject.Injector<MscRuntimeContainerDelegate> getRuntimeContainerDelegateInjector()
-
-