org.openejb.proxy
Class EJBMethodInterceptor

java.lang.Object
  extended byorg.openejb.proxy.EJBMethodInterceptor
All Implemented Interfaces:
net.sf.cglib.proxy.Callback, EJBInterceptor, net.sf.cglib.proxy.MethodInterceptor, Serializable

public class EJBMethodInterceptor
extends Object
implements net.sf.cglib.proxy.MethodInterceptor, EJBInterceptor, Serializable

See Also:
Serialized Form

Constructor Summary
EJBMethodInterceptor(EJBProxyFactory proxyFactory, EJBInterfaceType type, EJBContainer container, int[] operationMap)
           
EJBMethodInterceptor(EJBProxyFactory proxyFactory, EJBInterfaceType type, EJBContainer container, int[] operationMap, Object primaryKey)
           
 
Method Summary
 Object getPrimaryKey()
           
 EJBProxyFactory getProxyFactory()
           
 ProxyInfo getProxyInfo()
           
 Object intercept(Object proxy, Method method, Object[] args, net.sf.cglib.proxy.MethodProxy methodProxy)
           
 org.apache.geronimo.core.service.InvocationResult invoke(EJBInvocation ejbInvocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EJBMethodInterceptor

public EJBMethodInterceptor(EJBProxyFactory proxyFactory,
                            EJBInterfaceType type,
                            EJBContainer container,
                            int[] operationMap)

EJBMethodInterceptor

public EJBMethodInterceptor(EJBProxyFactory proxyFactory,
                            EJBInterfaceType type,
                            EJBContainer container,
                            int[] operationMap,
                            Object primaryKey)
Method Detail

getProxyFactory

public EJBProxyFactory getProxyFactory()

getProxyInfo

public ProxyInfo getProxyInfo()

getPrimaryKey

public Object getPrimaryKey()

intercept

public Object intercept(Object proxy,
                        Method method,
                        Object[] args,
                        net.sf.cglib.proxy.MethodProxy methodProxy)
                 throws Throwable
Specified by:
intercept in interface net.sf.cglib.proxy.MethodInterceptor
Throws:
Throwable

invoke

public org.apache.geronimo.core.service.InvocationResult invoke(EJBInvocation ejbInvocation)
                                                         throws Throwable
Specified by:
invoke in interface EJBInterceptor
Throws:
Throwable


Copyright © 1999-2005 OpenEJB. All Rights Reserved.