@Deprecated public class ServiceLifecycleManager extends SimpleLifecycleManager<FlowConstruct>
Modifier and Type | Field and Description |
---|---|
protected Log |
logger
Deprecated.
logger used by this class
|
protected MuleContext |
muleContext
Deprecated.
|
completedPhases, currentPhase, executingPhase, lifecycleManagerId, object, phaseNames, state
NOT_IN_LIFECYCLE_PHASE
Constructor and Description |
---|
ServiceLifecycleManager(FlowConstruct service,
MuleContext muleContext)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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.
|
fireLifecycle
addDirectTransition, checkPhase, createLifecycleState, getCurrentPhase, getExecutingPhase, getLifecycleObject, getState, invokePhase, isDirectTransition, isDirectTransition, isPhaseComplete, registerLifecycleCallback, reset, setCurrentPhase, setExecutingPhase
protected final transient Log logger
protected MuleContext muleContext
public ServiceLifecycleManager(FlowConstruct service, MuleContext muleContext) throws MuleException
MuleException
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)
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.