Interceptorpublic interface PropertyAccessInterceptor extends Interceptor
An interface that adds the ability to intercept property getters/setters
| Modifier and Type | Method | Description |
|---|---|---|
Object |
beforeGet(Object object,
String property) |
Intercepts a getXXX call and returns a result.
|
void |
beforeSet(Object object,
String property,
Object newValue) |
Intercepts a setXXX call
|
afterInvoke, beforeInvoke, doInvokeObject beforeGet(Object object, String property)
object - The target objectproperty - The property to get