org.mule.lifecycle.phases
Class MuleContextDisposePhase

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

public class MuleContextDisposePhase
extends DefaultLifecyclePhase

Objects are disposed of via the Registry since the Registry manages the creation/initialisation of the objects it must also take care of disposing them. However, a user may want to initiate a dispose via the DefaultMuleContext so the dispose Lifecycle phase for the DefaultMuleContext needs to call dispose on the Registry.


Field Summary
 
Fields inherited from class org.mule.lifecycle.DefaultLifecyclePhase
logger, RETRY_MAX
 
Fields inherited from interface org.mule.api.lifecycle.LifecyclePhase
ALL_PHASES
 
Constructor Summary
MuleContextDisposePhase()
           
 
Method Summary
 void fireLifecycle(MuleContext muleContext, String currentPhase)
           
 
Methods inherited from class org.mule.lifecycle.DefaultLifecyclePhase
addOrderedLifecycleObject, applyLifecycle, 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

MuleContextDisposePhase

public MuleContextDisposePhase()
Method Detail

fireLifecycle

public void fireLifecycle(MuleContext muleContext,
                          String currentPhase)
                   throws MuleException
Specified by:
fireLifecycle in interface LifecyclePhase
Overrides:
fireLifecycle in class DefaultLifecyclePhase
Throws:
MuleException


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