Class InterceptorInvocationHandler
- java.lang.Object
-
- com.sun.ejb.containers.interceptors.InterceptorInvocationHandler
-
- All Implemented Interfaces:
com.sun.enterprise.container.common.spi.InterceptorInvoker,InvocationHandler
public final class InterceptorInvocationHandler extends Object implements InvocationHandler, com.sun.enterprise.container.common.spi.InterceptorInvoker
- Author:
- Kenneth Saks
-
-
Constructor Summary
Constructors Constructor Description InterceptorInvocationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]getInterceptorInstances()ObjectgetProxy()ObjectgetTargetInstance()voidinit(Object targetInstance, Object[] interceptorInstances, Object clientProxy, InterceptorManager manager)Objectinvoke(Object proxy, Method method, Object[] args)voidinvokeAroundConstruct()voidinvokePostConstruct()voidinvokePreDestroy()StringtoString()
-
-
-
Method Detail
-
init
public void init(Object targetInstance, Object[] interceptorInstances, Object clientProxy, InterceptorManager manager)
-
getProxy
public Object getProxy()
- Specified by:
getProxyin interfacecom.sun.enterprise.container.common.spi.InterceptorInvoker
-
getTargetInstance
public Object getTargetInstance()
- Specified by:
getTargetInstancein interfacecom.sun.enterprise.container.common.spi.InterceptorInvoker
-
getInterceptorInstances
public Object[] getInterceptorInstances()
- Specified by:
getInterceptorInstancesin interfacecom.sun.enterprise.container.common.spi.InterceptorInvoker
-
invokeAroundConstruct
public void invokeAroundConstruct() throws Exception- Specified by:
invokeAroundConstructin interfacecom.sun.enterprise.container.common.spi.InterceptorInvoker- Throws:
Exception
-
invokePostConstruct
public void invokePostConstruct() throws Exception- Specified by:
invokePostConstructin interfacecom.sun.enterprise.container.common.spi.InterceptorInvoker- Throws:
Exception
-
invokePreDestroy
public void invokePreDestroy() throws Exception- Specified by:
invokePreDestroyin interfacecom.sun.enterprise.container.common.spi.InterceptorInvoker- Throws:
Exception
-
invoke
public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
- Specified by:
invokein interfaceInvocationHandler- Throws:
Throwable
-
-