org.mule.lifecycle.phases
Class MuleContextStartPhase

java.lang.Object
  extended by org.mule.lifecycle.DefaultLifecyclePhase
      extended by org.mule.lifecycle.phases.MuleContextStartPhase
All Implemented Interfaces:
LifecyclePhase

public class MuleContextStartPhase
extends DefaultLifecyclePhase

The Start phase for the Management context LifecycleManager. Calling org.mule.api.UMOManagementContext#start() with initiate this phase via the LifecycleManager. This phase controls the order in which objects should be started.

See Also:
org.mule.api.UMOManagementContext, LifecycleManager, Startable

Field Summary
 
Fields inherited from class org.mule.lifecycle.DefaultLifecyclePhase
logger
 
Fields inherited from interface org.mule.api.lifecycle.LifecyclePhase
ALL_PHASES
 
Constructor Summary
MuleContextStartPhase()
           
MuleContextStartPhase(Class[] ignorredObjects)
           
 
Method Summary
protected  List sortLifecycleInstances(Collection objects, LifecycleObject lo)
          Make sure that the agents are started up in proper order.
 
Methods inherited from class org.mule.lifecycle.DefaultLifecyclePhase
addOrderedLifecycleObject, applyLifecycle, fireLifecycle, getIgnoredObjectTypes, getLifecycleClass, getName, getOppositeLifecyclePhase, getOrderedLifecycleObjects, getRegistryScope, getSupportedPhases, ignoreType, isPhaseSupported, registerSupportedPhase, removeOrderedLifecycleObject, setIgnoredObjectTypes, setLifecycleClass, setOrderedLifecycleObjects, setRegistryScope, setSupportedPhases
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MuleContextStartPhase

public MuleContextStartPhase()

MuleContextStartPhase

public MuleContextStartPhase(Class[] ignorredObjects)
Method Detail

sortLifecycleInstances

protected List sortLifecycleInstances(Collection objects,
                                      LifecycleObject lo)
Make sure that the agents are started up in proper order.

Overrides:
sortLifecycleInstances in class DefaultLifecyclePhase
Returns:
List with ordered objects


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.