|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LifecycleCallbackItem
Method Summary | |
---|---|
Object |
getBean()
Gets the target bean implementing this callback |
ControllerState |
getDependentState()
The required state of the lifecycle callback bean |
ControllerState |
getWhenRequired()
Get the target state of the bean this callback applies to indicating when this callback should trigger |
void |
install(ControllerContext ctx)
Call when the target bean is installed |
void |
uninstall(ControllerContext ctx)
Call when the target bean is uninstalled |
Method Detail |
---|
Object getBean()
ControllerState getWhenRequired()
ControllerState getDependentState()
void install(ControllerContext ctx) throws Exception
ctx
- the context of the target bean
Exception
- for any errorvoid uninstall(ControllerContext ctx)
ctx
- the context of the target bean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |