Extends interceptor interface to allow interception of constructors
Type | Name and description |
---|---|
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 class | Name |
---|---|
interface Interceptor |
afterInvoke, beforeInvoke |
Executed after the constructor passing the args and the instantiated instance.
args
- The argumentsinstantiatedInstance
- The instantiated instanceExecuted before the real constructor. The callback object should be marked if invokation of the real constructor should be performed.
args
- The constructor argscallback
- The callback object