|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface GetterMonitor
This interface represents something that monitors the invocation of a java bean getter.
| Method Summary | |
|---|---|
void |
propertyGetFailed(java.lang.Object obj,
java.beans.PropertyDescriptor desc,
java.lang.Throwable err,
long duration)
This method is called after the getter failed. |
void |
propertyGetting(java.lang.Object obj,
java.beans.PropertyDescriptor desc)
This method is called right before the getter is called. |
void |
propertyGot(java.lang.Object obj,
java.beans.PropertyDescriptor desc,
java.lang.Object result,
long duration)
This method is called after the getter is called successfully. |
| Method Detail |
|---|
void propertyGetting(java.lang.Object obj,
java.beans.PropertyDescriptor desc)
obj - the java bean object.desc - the descriptor for the property.
void propertyGot(java.lang.Object obj,
java.beans.PropertyDescriptor desc,
java.lang.Object result,
long duration)
obj - the java bean object.desc - the descriptor for the property.result - the property value.duration - exactly how long it took to run the getter. (in milliseconds)
void propertyGetFailed(java.lang.Object obj,
java.beans.PropertyDescriptor desc,
java.lang.Throwable err,
long duration)
obj - the java bean object.desc - the descriptor for the property.err - the exception thrown out of the getter.duration - exactly how long it took to run the getter. (in milliseconds)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||