Package groovy.lang
Interface PropertyAccessInterceptor
- All Superinterfaces:
- Interceptor
An interface that adds the ability to intercept property getters/setters
- Since:
- Oct 24, 2005
- 
Method SummaryMethods inherited from interface groovy.lang.InterceptorafterInvoke, beforeInvoke, doInvoke
- 
Method Details- 
beforeGetIntercepts a getXXX call and returns a result. The result is replaced by the real value if doGet() return false- Parameters:
- object- The target object
- property- The property to get
- Returns:
- A value supplied by the interceptor
 
- 
beforeSetIntercepts a setXXX call- Parameters:
- object- The target object
- property- The property to set
- newValue- The new value
 
 
-