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 Details

    • runtimeContainerDelegateInjector

      protected org.jboss.msc.value.InjectedValue<MscRuntimeContainerDelegate> runtimeContainerDelegateInjector
    • processEngine

      protected ProcessEngine processEngine
      the process engine managed by this service
  • Constructor Details

    • MscManagedProcessEngine

      protected MscManagedProcessEngine()
    • MscManagedProcessEngine

      public MscManagedProcessEngine(ProcessEngine processEngine)
  • Method Details

    • getValue

      Specified by:
      getValue in interface org.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 interface org.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 interface org.jboss.msc.Service
    • getRuntimeContainerDelegateInjector

      public org.jboss.msc.inject.Injector<MscRuntimeContainerDelegate> getRuntimeContainerDelegateInjector()