org.openejb.proxy
Class EJBMethodInterceptor

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

public class EJBMethodInterceptor
extends Object
implements net.sf.cglib.proxy.MethodInterceptor, 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)
           
 
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()
                       throws ContainerNotFoundException
Throws:
ContainerNotFoundException

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


Copyright © 1999-2006 OpenEJB. All Rights Reserved.