|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
interface Interceptor
Implementers of this interface can be registered in the ProxyMetaClass for notifications about method calls for objects managed by the ProxyMetaClass. See groovy/lang/InterceptorTest.groovy for details.
Method Summary | |
---|---|
Object
|
afterInvoke(Object object, String methodName, Object[] arguments, Object result)
This code is executed after the method is optionally called. |
Object
|
beforeInvoke(Object object, String methodName, Object[] arguments)
This code is executed before the method is optionally called. |
boolean
|
doInvoke()
|
Method Detail |
---|
public Object afterInvoke(Object object, String methodName, Object[] arguments, Object result)
public Object beforeInvoke(Object object, String methodName, Object[] arguments)
public boolean doInvoke()
Copyright © 2003-2009 The Codehaus. All rights reserved.