|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD |
org.codehaus.groovy.grails.commons.metaclass.ConstructorInterceptor org.codehaus.groovy.grails.commons.metaclass.Interceptor
public interface ConstructorInterceptor extends Interceptor
Extends interceptor interface to allow interception of constructors
Method Summary | |
---|---|
java.lang.Object
|
afterConstructor(java.lang.Object[] args, java.lang.Object instantiatedInstance)
Executed after the constructor passing the args and the instantiated instance. |
java.lang.Object
|
beforeConstructor(java.lang.Object[] args, InvocationCallback callback)
Executed before the real constructor. |
Methods inherited from interface Interceptor | |
---|---|
afterInvoke, beforeInvoke |
Method Detail |
---|
public java.lang.Object afterConstructor(java.lang.Object[] args, java.lang.Object instantiatedInstance)
args
- The argumentsinstantiatedInstance
- The instantiated instance
public java.lang.Object beforeConstructor(java.lang.Object[] args, InvocationCallback callback)
args
- The constructor argscallback
- The callback object
Groovy Documentation