public class SedaStageLifecycleManager extends SimpleLifecycleManager<SedaStageInterceptingMessageProcessor>
Modifier and Type | Field and Description |
---|---|
protected Log |
logger
logger used by this class
|
completedPhases, currentPhase, executingPhase, lifecycleManagerId, object, phaseNames, state
NOT_IN_LIFECYCLE_PHASE
Constructor and Description |
---|
SedaStageLifecycleManager(String name,
SedaStageInterceptingMessageProcessor sedaStage) |
Modifier and Type | Method and Description |
---|---|
void |
fireDisposePhase(LifecycleCallback<SedaStageInterceptingMessageProcessor> callback) |
void |
fireInitialisePhase(LifecycleCallback<SedaStageInterceptingMessageProcessor> callback) |
void |
firePausePhase(LifecycleCallback<SedaStageInterceptingMessageProcessor> callback) |
void |
fireResumePhase(LifecycleCallback<SedaStageInterceptingMessageProcessor> callback) |
void |
fireStartPhase(LifecycleCallback<SedaStageInterceptingMessageProcessor> callback) |
void |
fireStopPhase(LifecycleCallback<SedaStageInterceptingMessageProcessor> callback) |
protected void |
notifyTransition(String destinationPhase)
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
public SedaStageLifecycleManager(String name, SedaStageInterceptingMessageProcessor sedaStage)
protected void registerTransitions()
registerTransitions
in class SimpleLifecycleManager<SedaStageInterceptingMessageProcessor>
protected void notifyTransition(String destinationPhase)
AbstractLifecycleManager
notifyTransition
in class AbstractLifecycleManager<SedaStageInterceptingMessageProcessor>
destinationPhase
- the currently completed phasepublic void fireInitialisePhase(LifecycleCallback<SedaStageInterceptingMessageProcessor> callback) throws InitialisationException
fireInitialisePhase
in class SimpleLifecycleManager<SedaStageInterceptingMessageProcessor>
InitialisationException
public void fireStartPhase(LifecycleCallback<SedaStageInterceptingMessageProcessor> callback) throws MuleException
fireStartPhase
in class SimpleLifecycleManager<SedaStageInterceptingMessageProcessor>
MuleException
public void firePausePhase(LifecycleCallback<SedaStageInterceptingMessageProcessor> callback) throws MuleException
MuleException
public void fireResumePhase(LifecycleCallback<SedaStageInterceptingMessageProcessor> callback) throws MuleException
MuleException
public void fireStopPhase(LifecycleCallback<SedaStageInterceptingMessageProcessor> callback) throws MuleException
fireStopPhase
in class SimpleLifecycleManager<SedaStageInterceptingMessageProcessor>
MuleException
public void fireDisposePhase(LifecycleCallback<SedaStageInterceptingMessageProcessor> callback)
fireDisposePhase
in class SimpleLifecycleManager<SedaStageInterceptingMessageProcessor>
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.