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
Modifier and TypeFieldDescriptionprotected ProcessEngine
the process engine managed by this serviceprotected Supplier<MscRuntimeContainerDelegate>
Fields inherited from interface org.jboss.msc.service.Service
NULL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
createProcessEngineJndiBinding
(org.jboss.msc.service.StartContext context) getValue()
protected void
void
start
(org.jboss.msc.service.StartContext context) void
stop
(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:
getValue
in interfaceorg.jboss.msc.value.Value<ProcessEngine>
- Throws:
IllegalStateException
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
- 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
-
getRuntimeContainerDelegateSupplier
-