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| 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, applyCompletedPhases, applyPhase, checkPhase, createLifecycleState, getCurrentPhase, getExecutingPhase, getLastPhaseExecuted, getLifecycleObject, getState, invokePhase, isDirectTransition, isDirectTransition, isLastPhaseExecutionFailed, isPhaseComplete, notifyTransition, registerLifecycleCallback, reset, setCurrentPhase, setExecutingPhaseprotected void registerTransitions()
registerTransitions in class AbstractLifecycleManager<MuleContext>public void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwarecontext - the Mule node.public void fireLifecycle(String destinationPhase) throws org.mule.runtime.api.lifecycle.LifecycleException
LifecycleManagerfireLifecycle in interface LifecycleManagerfireLifecycle in class AbstractLifecycleManager<MuleContext>destinationPhase - that phase to execute nextorg.mule.runtime.api.lifecycle.LifecycleException - if the phase is not a valid transition of does not exist on this lifecycle managerprotected void doOnConnectException(ConnectException ce) throws org.mule.runtime.api.lifecycle.LifecycleException
doOnConnectException in class AbstractLifecycleManager<MuleContext>org.mule.runtime.api.lifecycle.LifecycleExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.