org.openejb.client
Class CgLibInvocationHandler

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

public class CgLibInvocationHandler
extends Object
implements net.sf.cglib.proxy.MethodInterceptor, InvocationHandler, Serializable

See Also:
Serialized Form

Constructor Summary
CgLibInvocationHandler()
           
CgLibInvocationHandler(InvocationHandler delegate)
           
 
Method Summary
 InvocationHandler getInvocationHandler()
           
 Object intercept(Object proxy, Method method, Object[] args, net.sf.cglib.proxy.MethodProxy mProxy)
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 InvocationHandler setInvocationHandler(InvocationHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CgLibInvocationHandler

public CgLibInvocationHandler()

CgLibInvocationHandler

public CgLibInvocationHandler(InvocationHandler delegate)
Method Detail

intercept

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

invoke

public Object invoke(Object proxy,
                     Method method,
                     Object[] args)
              throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

getInvocationHandler

public InvocationHandler getInvocationHandler()

setInvocationHandler

public InvocationHandler setInvocationHandler(InvocationHandler handler)


Copyright © 1999-2006 OpenEJB. All Rights Reserved.