|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtendedClassCallbackHandler
ExtendedClassCallbackHandler
interface described the callback methods that an implementing class can
receive, if the class were to be registered as an extending class for an AR System Java API class.
These callback methods will be invoked at appropriate times, by the Java API internal implementation, whenever it
instantiates an an object of the extended type.
Implementing this interface is optional and is needed only if:
Method Summary | |
---|---|
void |
afterFieldSet(Field field)
[OPTIONAL: The client programs can implement this method simply with empty body, just to fullfill the interface.] This method will be called by the Java API, once per field, after the API implementation initializes that field value of a given extended class. |
void |
afterFieldsSet(Class whichClazz)
[OPTIONAL: The client programs can implement this method simply with empty body, just to fullfill the interface.] This method will be called by the Java API when it traverses up the class hierarchy of a given extended class, once per class in the hierarchy after the API implementation initializes members of that class. |
void |
afterInstanceConstructed()
This method will be invoked after Java API instantiates an object of extended type and after finishing the initialization of it. |
void |
beforeFieldSet(Field field)
[OPTIONAL: The client programs can implement this method simply with empty body, just to fullfill the interface.] This method will be called by the Java API, once per field, before the API implementation attempts to initialize that field value of a given extended class. |
void |
beforeFieldsSet(Class whichClazz)
[OPTIONAL: The client programs can implement this method simply with empty body, just to fullfill the interface.] This method will be called by the Java API when it traverses up the class hierarchy of a given extended class, once per class in the hierarchy and before the API implementation initializes members of that class. |
Method Detail |
---|
void afterInstanceConstructed()
void beforeFieldsSet(Class whichClazz)
whichClazz
- void beforeFieldSet(Field field)
field
- void afterFieldSet(Field field)
field
- void afterFieldsSet(Class whichClazz)
whichClazz
-
|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |