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.
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.