public class FlowConstructLifecycleManager extends SimpleLifecycleManager<FlowConstruct>
Modifier and Type | Field and Description |
---|---|
protected Log |
logger
logger used by this class
|
protected MuleContext |
muleContext |
completedPhases, currentPhase, executingPhase, lifecycleManagerId, object, phaseNames, state
NOT_IN_LIFECYCLE_PHASE
Constructor and Description |
---|
FlowConstructLifecycleManager(FlowConstruct flowConstruct,
MuleContext muleContext) |
Modifier and Type | Method and Description |
---|---|
void |
fireDisposePhase(LifecycleCallback<FlowConstruct> callback) |
void |
fireInitialisePhase(LifecycleCallback<FlowConstruct> callback) |
protected void |
fireNotification(int action) |
void |
firePausePhase(LifecycleCallback<FlowConstruct> callback) |
void |
fireResumePhase(LifecycleCallback<FlowConstruct> callback) |
void |
fireStartPhase(LifecycleCallback<FlowConstruct> callback) |
void |
fireStopPhase(LifecycleCallback<FlowConstruct> callback) |
protected void |
notifyTransition(String currentPhase)
Allows any for any state adjustments in sub classes.
|
protected void |
registerTransitions() |
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 FlowConstructLifecycleManager(FlowConstruct flowConstruct, MuleContext muleContext)
protected void registerTransitions()
registerTransitions
in class SimpleLifecycleManager<FlowConstruct>
protected void notifyTransition(String currentPhase)
AbstractLifecycleManager
notifyTransition
in class AbstractLifecycleManager<FlowConstruct>
currentPhase
- 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.