public interface PropertyAccessInterceptor extends Interceptor
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
beforeGet(java.lang.Object object,
java.lang.String property,
InvocationCallback callback)
Intercepts a getXXX call and returns a result.
|
void |
beforeSet(java.lang.Object object,
java.lang.String property,
java.lang.Object newValue,
InvocationCallback callback)
Intercepts a setXXX call.
|
afterInvoke, beforeInvoke
java.lang.Object beforeGet(java.lang.Object object, java.lang.String property, InvocationCallback callback)
object
- The target objectproperty
- The property to getcallback
- The callback objectvoid beforeSet(java.lang.Object object, java.lang.String property, java.lang.Object newValue, InvocationCallback callback)
object
- The target objectproperty
- The property to setnewValue
- The new valuecallback
- The callback object