|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
applyCompletedPhases(Object object)
Successively applies all completed lifecycle phase to an object. |
void |
applyPhase(Object object,
String phase)
|
LifecyclePhase |
applyPhase(Registry registry,
String phase)
Applies lifecycle phase to a collection of objects. |
void |
applyPhases(Object object,
String endPhase)
Applies lifecycle phase to an object independent of the current lifecycle phase. |
void |
checkPhase(String name)
|
void |
firePhase(MuleContext muleContext,
String phase)
Applies lifecycle phase to all objects in the Registry. |
String |
getCurrentPhase()
|
String |
getExecutingPhase()
|
Set<LifecyclePhase> |
getLifecycles()
|
boolean |
isPhaseComplete(String phaseName)
|
void |
registerLifecycle(LifecyclePhase lci)
|
void |
reset()
|
void |
setLifecycles(Set<LifecyclePhase> lifecycles)
|
| Method Detail |
|---|
Set<LifecyclePhase> getLifecycles()
void setLifecycles(Set<LifecyclePhase> lifecycles)
void registerLifecycle(LifecyclePhase lci)
void firePhase(MuleContext muleContext,
String phase)
throws MuleException
MuleException
LifecyclePhase applyPhase(Registry registry,
String phase)
throws MuleException
MuleException
void applyPhase(Object object,
String phase)
throws MuleException
MuleException
void applyPhases(Object object,
String endPhase)
throws MuleException
endPhase - the final phase to execute on the object. All phases inbetween current and end will be executed
MuleExceptionString getCurrentPhase()
String getExecutingPhase()
void reset()
boolean isPhaseComplete(String phaseName)
void applyCompletedPhases(Object object)
throws MuleException
MuleException
void checkPhase(String name)
throws IllegalStateException
IllegalStateException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||