com.wideplay.warp.persist.internal
Class AopAllianceCglibAdapter
java.lang.Object
com.wideplay.warp.persist.internal.AopAllianceCglibAdapter
- All Implemented Interfaces:
- net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor
@Immutable
public class AopAllianceCglibAdapter
- extends Object
- implements net.sf.cglib.proxy.MethodInterceptor
Adapter used to transform cglib interceptors to work with guice (aopalliance) interceptors.
Used to generate proxies for abstract classes, i.e. ones that are annotated @Finder
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AopAllianceCglibAdapter
public AopAllianceCglibAdapter(MethodInterceptor finderInterceptor)
intercept
public Object intercept(Object object,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy methodProxy)
throws Throwable
- Specified by:
intercept
in interface net.sf.cglib.proxy.MethodInterceptor
- Throws:
Throwable