|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- expected name type - Class, String, ...public interface CallbackItem<T>
Callback information.
Method Summary | |
---|---|
void |
changeCallback(Controller controller,
ControllerContext context,
boolean isInstallPhase)
Execute callback with current changed context. |
String |
getAttributeName()
Get the method/attribute/property name |
ControllerState |
getDependentState()
Get the dependent's state |
T |
getIDependOn()
Get the object name i depend on |
ControllerState |
getWhenRequired()
Get when the dependency is required |
void |
ownerCallback(Controller controller,
boolean isInstallPhase)
Execute callback when item added to controller. |
Method Detail |
---|
T getIDependOn()
ControllerState getWhenRequired()
ControllerState getDependentState()
String getAttributeName()
void ownerCallback(Controller controller, boolean isInstallPhase) throws Throwable
controller
- the controllerisInstallPhase
- install or uninstall
Throwable
- for any errorvoid changeCallback(Controller controller, ControllerContext context, boolean isInstallPhase) throws Throwable
controller
- the controllercontext
- the new contextisInstallPhase
- install or uninstall
Throwable
- for any error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |