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 Details

    • InterceptorInvocationHandler

      public InterceptorInvocationHandler()
  • Method Details

    • init

      public void init(Object targetInstance, Object[] interceptorInstances, Object clientProxy, InterceptorManager manager)
    • getProxy

      public Object getProxy()
      Specified by:
      getProxy in interface com.sun.enterprise.container.common.spi.InterceptorInvoker
    • getTargetInstance

      public Object getTargetInstance()
      Specified by:
      getTargetInstance in interface com.sun.enterprise.container.common.spi.InterceptorInvoker
    • getInterceptorInstances

      public Object[] getInterceptorInstances()
      Specified by:
      getInterceptorInstances in interface com.sun.enterprise.container.common.spi.InterceptorInvoker
    • invokeAroundConstruct

      public void invokeAroundConstruct() throws Exception
      Specified by:
      invokeAroundConstruct in interface com.sun.enterprise.container.common.spi.InterceptorInvoker
      Throws:
      Exception
    • invokePostConstruct

      public void invokePostConstruct() throws Exception
      Specified by:
      invokePostConstruct in interface com.sun.enterprise.container.common.spi.InterceptorInvoker
      Throws:
      Exception
    • invokePreDestroy

      public void invokePreDestroy() throws Exception
      Specified by:
      invokePreDestroy in interface com.sun.enterprise.container.common.spi.InterceptorInvoker
      Throws:
      Exception
    • invoke

      public Object invoke(Object proxy, Method method, Object[] args) throws Throwable
      Specified by:
      invoke in interface InvocationHandler
      Throws:
      Throwable
    • toString

      public String toString()
      Overrides:
      toString in class Object