|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mule.lifecycle.AbstractLifecycleManager<O> org.mule.lifecycle.SimpleLifecycleManager<FlowConstruct> org.mule.service.ServiceLifecycleManager
@Deprecated public class ServiceLifecycleManager
The lifecycle manager responsible for managing lifecycle transitions for a Mule service. The Mule service adds some additional states, namely pause and resume. The lifecycle manager manages lifecycle notifications and logging as well.
Field Summary | |
---|---|
protected Log |
logger
Deprecated. logger used by this class |
protected MuleContext |
muleContext
Deprecated. |
Fields inherited from class org.mule.lifecycle.AbstractLifecycleManager |
---|
completedPhases, currentPhase, executingPhase, lifecycleManagerId, object, phaseNames, state |
Fields inherited from interface org.mule.api.lifecycle.LifecycleManager |
---|
NOT_IN_LIFECYCLE_PHASE |
Constructor Summary | |
---|---|
ServiceLifecycleManager(FlowConstruct service,
MuleContext muleContext)
Deprecated. |
Method Summary | |
---|---|
void |
fireDisposePhase(LifecycleCallback<FlowConstruct> callback)
Deprecated. |
void |
fireInitialisePhase(LifecycleCallback<FlowConstruct> callback)
Deprecated. |
protected void |
fireNotification(int action)
Deprecated. |
void |
firePausePhase(LifecycleCallback<FlowConstruct> callback)
Deprecated. |
void |
fireResumePhase(LifecycleCallback<FlowConstruct> callback)
Deprecated. |
void |
fireStartPhase(LifecycleCallback<FlowConstruct> callback)
Deprecated. |
void |
fireStopPhase(LifecycleCallback<FlowConstruct> callback)
Deprecated. |
protected void |
notifyTransition(String destinationPhase)
Deprecated. Allows any for any state adjustments in sub classes. |
protected void |
registerTransitions()
Deprecated. |
Methods inherited from class org.mule.lifecycle.SimpleLifecycleManager |
---|
fireLifecycle |
Methods inherited from class org.mule.lifecycle.AbstractLifecycleManager |
---|
addDirectTransition, checkPhase, createLifecycleState, getCurrentPhase, getExecutingPhase, getLifecycleObject, getState, invokePhase, isDirectTransition, isDirectTransition, isPhaseComplete, registerLifecycleCallback, reset, setCurrentPhase, setExecutingPhase |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final transient Log logger
protected MuleContext muleContext
Constructor Detail |
---|
public ServiceLifecycleManager(FlowConstruct service, MuleContext muleContext) throws MuleException
MuleException
Method Detail |
---|
protected void registerTransitions()
registerTransitions
in class SimpleLifecycleManager<FlowConstruct>
protected void notifyTransition(String destinationPhase)
AbstractLifecycleManager
notifyTransition
in class AbstractLifecycleManager<FlowConstruct>
destinationPhase
- the currently completed phasepublic void fireInitialisePhase(LifecycleCallback<FlowConstruct> callback) throws MuleException
fireInitialisePhase
in class SimpleLifecycleManager<FlowConstruct>
MuleException
public void fireStartPhase(LifecycleCallback<FlowConstruct> callback) throws MuleException
fireStartPhase
in class SimpleLifecycleManager<FlowConstruct>
MuleException
public void firePausePhase(LifecycleCallback<FlowConstruct> callback) throws MuleException
MuleException
public void fireResumePhase(LifecycleCallback<FlowConstruct> callback) throws MuleException
MuleException
public void fireStopPhase(LifecycleCallback<FlowConstruct> callback) throws MuleException
fireStopPhase
in class SimpleLifecycleManager<FlowConstruct>
MuleException
public void fireDisposePhase(LifecycleCallback<FlowConstruct> callback) throws MuleException
fireDisposePhase
in class SimpleLifecycleManager<FlowConstruct>
MuleException
protected void fireNotification(int action)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |