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 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
when MscRuntimeContainerDelegate.registerProcessEngine(ProcessEngine) is called.
This is the JBoass Msc counterpart of the JmxManagedProcessEngine
- Author:
- Daniel Meyer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ProcessEnginethe process engine managed by this serviceprotected Supplier<MscRuntimeContainerDelegate>Fields inherited from interface org.jboss.msc.service.Service
NULL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcreateProcessEngineJndiBinding(org.jboss.msc.service.StartContext context) getValue()protected voidvoidstart(org.jboss.msc.service.StartContext context) voidstop(org.jboss.msc.service.StopContext context)
-
Field Details
-
runtimeContainerDelegateSupplier
-
processEngine
the process engine managed by this service
-
-
Constructor Details
-
MscManagedProcessEngine
protected MscManagedProcessEngine() -
MscManagedProcessEngine
-
-
Method Details
-
getValue
- Specified by:
getValuein interfaceorg.jboss.msc.value.Value<ProcessEngine>- Throws:
IllegalStateExceptionIllegalArgumentException
-
start
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException - Specified by:
startin interfaceorg.jboss.msc.Service- 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
-
getRuntimeContainerDelegateSupplier
-