|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RegistryLifecycleHelpers
This interface defines additional Registry Lifecycle methods to enable extenral objects to have there lifecycle managed by the registry.
Method Summary | |
---|---|
void |
applyCompletedPhases(Object object)
Successively applies all completed lifecycle phase to an object. |
void |
applyPhase(Object object,
String fromPhase,
String toPhase)
Applies lifecycle phase to an object independent of the current lifecycle phase. |
Method Detail |
---|
void applyPhase(Object object, String fromPhase, String toPhase) throws LifecycleException
object
- the object to apply lifecycle tofromPhase
- the lifecycle phase the object is currently in. Must not be null.toPhase
- the lifecycle phase to transition the object to. Must not be null.
LifecycleException
- if there is an exception while invoking lifecycle on the objectvoid applyCompletedPhases(Object object) throws LifecycleException
object
- the object to which the lifecycle should be applied
LifecycleException
- if there is an error while applying lifecycle to the object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |