|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FieldInterceptor
Field interceptor. A class implementing this interface is able to be notified of field accesses. The listener need to be register on the instance manager.
| Method Summary | |
|---|---|
java.lang.Object |
onGet(java.lang.Object pojo,
java.lang.String fieldName,
java.lang.Object value)
This method is called when a GETFIELD operation is detected. |
void |
onSet(java.lang.Object pojo,
java.lang.String fieldName,
java.lang.Object value)
This method is called when a PUTFIELD operation is detected. |
| Method Detail |
|---|
void onSet(java.lang.Object pojo,
java.lang.String fieldName,
java.lang.Object value)
pojo - : the pojo object setting the valuefieldName - : the field namevalue - : the value passed to the field
java.lang.Object onGet(java.lang.Object pojo,
java.lang.String fieldName,
java.lang.Object value)
pojo - : the pojo object getting the valuefieldName - : the field namevalue - : the value passed to the field (by the previous call)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||