org.apache.webbeans.ejb.common.proxy
Class EjbBeanProxyHandler

java.lang.Object
  extended by org.apache.webbeans.ejb.common.proxy.EjbBeanProxyHandler
All Implemented Interfaces:
javassist.util.proxy.MethodHandler

public class EjbBeanProxyHandler
extends Object
implements javassist.util.proxy.MethodHandler

EJB beans proxy handler.

Version:
$Rev: 889852 $ $Date: 2009-12-12 01:11:53 +0200 (Sat, 12 Dec 2009) $

Constructor Summary
EjbBeanProxyHandler(BaseEjbBean<?> ejbBean, CreationalContext<?> creationalContext)
          Creates a new instance.
 
Method Summary
protected  CreationalContext<Object> getContextualCreationalContext()
           
 Object invoke(Object proxyInstance, Method method, Method proceed, Object[] arguments)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EjbBeanProxyHandler

public EjbBeanProxyHandler(BaseEjbBean<?> ejbBean,
                           CreationalContext<?> creationalContext)
Creates a new instance.

Parameters:
ejbBean - ejb bean instance
Method Detail

invoke

public Object invoke(Object proxyInstance,
                     Method method,
                     Method proceed,
                     Object[] arguments)
              throws Exception

Specified by:
invoke in interface javassist.util.proxy.MethodHandler
Throws:
Exception

getContextualCreationalContext

protected CreationalContext<Object> getContextualCreationalContext()


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.