org.jboss.weld.interceptor.proxy
Class InterceptorMethodHandler

java.lang.Object
  extended by org.jboss.weld.interceptor.proxy.InterceptorMethodHandler
All Implemented Interfaces:
Serializable, javassist.util.proxy.MethodHandler

public class InterceptorMethodHandler
extends Object
implements javassist.util.proxy.MethodHandler, Serializable

Author:
Marius Bogoevici, Marko Luksa
See Also:
Serialized Form

Constructor Summary
InterceptorMethodHandler(Object targetInstance, ClassMetadata<?> targetClassMetadata, InterceptionModel<ClassMetadata<?>,?> interceptionModel, InterceptorInstantiator<?,?> interceptorInstantiator, InvocationContextFactory invocationContextFactory)
           
 
Method Summary
 Object invoke(Object self, Method thisMethod, Method proceed, Object[] args)
           
protected  boolean isProxy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterceptorMethodHandler

public InterceptorMethodHandler(Object targetInstance,
                                ClassMetadata<?> targetClassMetadata,
                                InterceptionModel<ClassMetadata<?>,?> interceptionModel,
                                InterceptorInstantiator<?,?> interceptorInstantiator,
                                InvocationContextFactory invocationContextFactory)
Method Detail

isProxy

protected boolean isProxy()

invoke

public Object invoke(Object self,
                     Method thisMethod,
                     Method proceed,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface javassist.util.proxy.MethodHandler
Throws:
Throwable


Copyright © 2013 Seam Framework. All Rights Reserved.