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
Modifier and Type | Field and Description |
---|---|
protected ProcessEngine |
processEngine
the process engine managed by this service
|
protected org.jboss.msc.value.InjectedValue<MscRuntimeContainerDelegate> |
runtimeContainerDelegateInjector |
Modifier | Constructor and Description |
---|---|
protected |
MscManagedProcessEngine() |
|
MscManagedProcessEngine(ProcessEngine processEngine) |
Modifier and Type | Method and 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) |
protected org.jboss.msc.value.InjectedValue<MscRuntimeContainerDelegate> runtimeContainerDelegateInjector
protected ProcessEngine processEngine
protected MscManagedProcessEngine()
public MscManagedProcessEngine(ProcessEngine processEngine)
public ProcessEngine getValue() throws IllegalStateException, IllegalArgumentException
getValue
in interface org.jboss.msc.value.Value<ProcessEngine>
IllegalStateException
IllegalArgumentException
public void start(org.jboss.msc.service.StartContext context) throws org.jboss.msc.service.StartException
start
in interface org.jboss.msc.Service
org.jboss.msc.service.StartException
protected void createProcessEngineJndiBinding(org.jboss.msc.service.StartContext context)
protected void removeProcessEngineJndiBinding()
public void stop(org.jboss.msc.service.StopContext context)
stop
in interface org.jboss.msc.Service
public org.jboss.msc.inject.Injector<MscRuntimeContainerDelegate> getRuntimeContainerDelegateInjector()
Copyright © 2021. All rights reserved.