org.mule.lifecycle
Class MuleContextLifecycleManager

java.lang.Object
  extended by org.mule.lifecycle.RegistryLifecycleManager
      extended by org.mule.lifecycle.MuleContextLifecycleManager
All Implemented Interfaces:
LifecycleManager

public class MuleContextLifecycleManager
extends RegistryLifecycleManager

This is a specialized class that extends RegistryLifecycleManager and will invoke lifecycle on the registry instance for the MuleContext. This class must only be used by the MuleContext.


Field Summary
 
Fields inherited from class org.mule.lifecycle.RegistryLifecycleManager
completedPhases, currentPhase, executingPhase, lifecyclePairs, notInLifecyclePhase, state, transitions
 
Constructor Summary
MuleContextLifecycleManager()
           
 
Method Summary
 void fireLifecycle(Registry registry, String phase)
          Applies lifecycle phase to a collection of objects.
 
Methods inherited from class org.mule.lifecycle.RegistryLifecycleManager
applyCompletedPhases, applyPhase, checkPhase, doApplyPhase, firePhase, getCurrentPhase, getExecutingPhase, getLifecyclePairs, getPhaseForIndex, getPhaseIndex, getPhasesIndex, getState, isPhaseComplete, lookupPhase, registerLifecycle, reset, setCurrentPhase, setExecutingPhase, setLifecyclePairs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MuleContextLifecycleManager

public MuleContextLifecycleManager()
Method Detail

fireLifecycle

public void fireLifecycle(Registry registry,
                          String phase)
                   throws MuleException
Description copied from interface: LifecycleManager
Applies lifecycle phase to a collection of objects.

Specified by:
fireLifecycle in interface LifecycleManager
Overrides:
fireLifecycle in class RegistryLifecycleManager
Throws:
MuleException


Copyright © 2003-2010 MuleSoft, Inc.. All Rights Reserved.