org.mule.api.lifecycle
Interface LifecycleManager

All Known Implementing Classes:
DefaultLifecycleManager, GenericLifecycleManager

public interface LifecycleManager

The LifecycleManager is responsible for managing the different lifecycle phases of the server and managing the transitions between lifecycle phases.


Method Summary
 void applyLifecycle(MuleContext muleContext, Object object)
           
 void checkPhase(String name)
           
 void firePhase(MuleContext muleContext, String phase)
           
 String getCurrentPhase()
           
 String getExecutingPhase()
           
 Set getLifecycles()
           
 boolean isPhaseComplete(String phaseName)
           
 void registerLifecycle(LifecyclePhase lci)
           
 void reset()
           
 void setLifecycles(Set lifecycles)
           
 

Method Detail

getLifecycles

Set getLifecycles()

setLifecycles

void setLifecycles(Set lifecycles)

registerLifecycle

void registerLifecycle(LifecyclePhase lci)

firePhase

void firePhase(MuleContext muleContext,
               String phase)
               throws MuleException
Throws:
MuleException

getCurrentPhase

String getCurrentPhase()

getExecutingPhase

String getExecutingPhase()

reset

void reset()

isPhaseComplete

boolean isPhaseComplete(String phaseName)

applyLifecycle

void applyLifecycle(MuleContext muleContext,
                    Object object)
                    throws MuleException
Throws:
MuleException

checkPhase

void checkPhase(String name)
                throws IllegalStateException
Throws:
IllegalStateException


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