public class MuleContextLifecycleManager extends AbstractLifecycleManager<MuleContext> implements MuleContextAware
RegistryLifecycleManager
and will
invoke lifecycle on the registry instance for the MuleContext. This class must only be used by the MuleContext.completedPhases, currentPhase, executingPhase, lifecycleManagerId, logger, object, phaseNames, state
NOT_IN_LIFECYCLE_PHASE
Constructor and Description |
---|
MuleContextLifecycleManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
doOnConnectException(ConnectException ce) |
void |
fireLifecycle(String destinationPhase)
Applies lifecycle phase to a collection of objects.
|
protected void |
registerTransitions() |
void |
setMuleContext(MuleContext context) |
addDirectTransition, checkPhase, createLifecycleState, getCurrentPhase, getExecutingPhase, getLastPhaseExecuted, getLifecycleObject, getState, invokePhase, isDirectTransition, isDirectTransition, isLastPhaseExecutionFailed, isPhaseComplete, notifyTransition, registerLifecycleCallback, reset, setCurrentPhase, setExecutingPhase
protected void registerTransitions()
registerTransitions
in class AbstractLifecycleManager<MuleContext>
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
public void fireLifecycle(String destinationPhase) throws LifecycleException
LifecycleManager
fireLifecycle
in interface LifecycleManager
fireLifecycle
in class AbstractLifecycleManager<MuleContext>
destinationPhase
- that phase to execute nextLifecycleException
- if the phase is not a valid transition of does not exist on this lifecycle managerprotected void doOnConnectException(ConnectException ce) throws LifecycleException
LifecycleException
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.