|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PropertyAccessInterceptor
An interface that adds the ability to intercept property getters/setters
| Method Summary | |
|---|---|
Object |
beforeGet(Object object,
String property,
InvocationCallback callback)
Intercepts a getXXX call and returns a result. |
void |
beforeSet(Object object,
String property,
Object newValue,
InvocationCallback callback)
Intercepts a setXXX call |
| Methods inherited from interface org.codehaus.groovy.grails.commons.metaclass.Interceptor |
|---|
afterInvoke, beforeInvoke |
| Method Detail |
|---|
Object beforeGet(Object object,
String property,
InvocationCallback callback)
object - The target objectproperty - The property to getcallback - The callback object
void beforeSet(Object object,
String property,
Object newValue,
InvocationCallback callback)
object - The target objectproperty - The property to setnewValue - The new valuecallback - The callback object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||