|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.commons.metaclass.AbstractDynamicMethods org.codehaus.groovy.grails.commons.metaclass.AbstractDynamicMethodsInterceptor
public abstract class AbstractDynamicMethodsInterceptor extends AbstractDynamicMethods
Implements an the Interceptor interface to add support for using ProxyMetaClass to define dynamic methods.
Field Summary |
---|
Fields inherited from class AbstractDynamicMethods | |
---|---|
clazz, dynamicConstructors, dynamicMethodInvocations, dynamicProperties, staticMethodInvocations |
Constructor Summary | |
AbstractDynamicMethodsInterceptor()
|
|
AbstractDynamicMethodsInterceptor(java.lang.Class theClass, boolean inRegistry)
|
|
AbstractDynamicMethodsInterceptor(java.lang.Class theClass)
|
Method Summary | |
---|---|
java.lang.Object
|
afterConstructor(java.lang.Object[] args, java.lang.Object instantiatedInstance)
|
java.lang.Object
|
afterInvoke(java.lang.Object object, java.lang.String methodName, java.lang.Object[] arguments, java.lang.Object result)
|
java.lang.Object
|
beforeConstructor(java.lang.Object[] args, InvocationCallback callback)
|
java.lang.Object
|
beforeGet(java.lang.Object object, java.lang.String property, InvocationCallback callback)
|
java.lang.Object
|
beforeInvoke(java.lang.Object target, java.lang.String methodName, java.lang.Object[] arguments, InvocationCallback callback)
|
void
|
beforeSet(java.lang.Object object, java.lang.String property, java.lang.Object newValue, InvocationCallback callback)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor Detail |
---|
public AbstractDynamicMethodsInterceptor()
public AbstractDynamicMethodsInterceptor(java.lang.Class theClass, boolean inRegistry)
public AbstractDynamicMethodsInterceptor(java.lang.Class theClass)
Method Detail |
---|
public java.lang.Object afterConstructor(java.lang.Object[] args, java.lang.Object instantiatedInstance)
public java.lang.Object afterInvoke(java.lang.Object object, java.lang.String methodName, java.lang.Object[] arguments, java.lang.Object result)
public java.lang.Object beforeConstructor(java.lang.Object[] args, InvocationCallback callback)
public java.lang.Object beforeGet(java.lang.Object object, java.lang.String property, InvocationCallback callback)
public java.lang.Object beforeInvoke(java.lang.Object target, java.lang.String methodName, java.lang.Object[] arguments, InvocationCallback callback)
public void beforeSet(java.lang.Object object, java.lang.String property, java.lang.Object newValue, InvocationCallback callback)
Groovy Documentation