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, stateNOT_IN_LIFECYCLE_PHASE| Constructor and Description |
|---|
MuleContextLifecycleManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
fireLifecycle(String destinationPhase)
Applies lifecycle phase to a collection of objects.
|
protected void |
invokePhase(String phase,
Object object,
LifecycleCallback callback) |
protected void |
registerTransitions() |
void |
setMuleContext(MuleContext context) |
addDirectTransition, checkPhase, createLifecycleState, getCurrentPhase, getExecutingPhase, getLifecycleObject, getState, isDirectTransition, isDirectTransition, isPhaseComplete, notifyTransition, registerLifecycleCallback, reset, setCurrentPhase, setExecutingPhaseprotected void registerTransitions()
registerTransitions in class AbstractLifecycleManager<MuleContext>public void setMuleContext(MuleContext context)
setMuleContext in interface MuleContextAwarepublic void fireLifecycle(String destinationPhase) throws LifecycleException
LifecycleManagerfireLifecycle in interface LifecycleManagerfireLifecycle 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 invokePhase(String phase, Object object, LifecycleCallback callback) throws LifecycleException
invokePhase in class AbstractLifecycleManager<MuleContext>LifecycleExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.