org.jboss.weld.bean.proxy
Class ProxyMethodHandler

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

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

A general purpose MethodHandler for all proxies which routes calls to the BeanInstance associated with this proxy or handler.

Author:
David Allen
See Also:
Serialized Form

Field Summary
protected static org.slf4j.cal10n.LocLogger log
           
 
Constructor Summary
ProxyMethodHandler(BeanInstance beanInstance, javax.enterprise.inject.spi.Bean<?> bean)
           
 
Method Summary
 Object invoke(Object self, Method thisMethod, Method proceed, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.slf4j.cal10n.LocLogger log
Constructor Detail

ProxyMethodHandler

public ProxyMethodHandler(BeanInstance beanInstance,
                          javax.enterprise.inject.spi.Bean<?> bean)
Method Detail

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.