public final class InterceptorInvocationHandler extends Object implements InvocationHandler, InterceptorInvoker
| Constructor and Description |
|---|
InterceptorInvocationHandler() |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
getInterceptorInstances() |
Object |
getProxy() |
Object |
getTargetInstance() |
void |
init(Object targetInstance,
Object[] interceptorInstances,
Object clientProxy,
InterceptorManager manager) |
Object |
invoke(Object proxy,
Method method,
Object[] args) |
void |
invokeAroundConstruct() |
void |
invokePostConstruct() |
void |
invokePreDestroy() |
String |
toString() |
public void init(Object targetInstance, Object[] interceptorInstances, Object clientProxy, InterceptorManager manager)
public Object getProxy()
getProxy in interface InterceptorInvokerpublic Object getTargetInstance()
getTargetInstance in interface InterceptorInvokerpublic Object[] getInterceptorInstances()
getInterceptorInstances in interface InterceptorInvokerpublic void invokeAroundConstruct()
throws Exception
invokeAroundConstruct in interface InterceptorInvokerExceptionpublic void invokePostConstruct()
throws Exception
invokePostConstruct in interface InterceptorInvokerExceptionpublic void invokePreDestroy()
throws Exception
invokePreDestroy in interface InterceptorInvokerExceptionpublic Object invoke(Object proxy, Method method, Object[] args) throws Throwable
invoke in interface InvocationHandlerThrowableCopyright © 2017. All rights reserved.