|
|||||||||
| 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)
Intercepts a getXXX call and returns a result. |
void |
beforeSet(Object object,
String property,
Object newValue)
Intercepts a setXXX call |
| Methods inherited from interface groovy.lang.Interceptor |
|---|
afterInvoke, beforeInvoke, doInvoke |
| Method Detail |
|---|
Object beforeGet(Object object,
String property)
object - The target objectproperty - The property to get
void beforeSet(Object object,
String property,
Object newValue)
object - The target objectproperty - The property to setnewValue - The new value
|
Copyright © 2003-2009 The Codehaus. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||