com.agical.rmock.extension.cglib
Class ObjectInterceptionInvocationHandler
java.lang.Object
com.agical.rmock.extension.cglib.BaseInvocationHandler
com.agical.rmock.extension.cglib.ObjectInterceptionInvocationHandler
- All Implemented Interfaces:
- net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor
- Direct Known Subclasses:
- InterfaceInterceptionInvocationHandler
public class ObjectInterceptionInvocationHandler
- extends BaseInvocationHandler
- implements net.sf.cglib.proxy.MethodInterceptor
(c) Agical AB 2005
- Author:
- brolund
Method Summary |
java.lang.Object |
intercept(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] parameters,
net.sf.cglib.proxy.MethodProxy methodProxy)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectInterceptionInvocationHandler
public ObjectInterceptionInvocationHandler(InvocationHandler invocationHandler,
java.lang.String id,
java.lang.Class clazz,
ProxyFactory proxyFactory,
ExpectationsState expectationsState,
InvocationListener invocationListener,
ObjectReferenceRetriever objectReferenceFromStacktrace)
intercept
public java.lang.Object intercept(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] parameters,
net.sf.cglib.proxy.MethodProxy methodProxy)
throws java.lang.Throwable
- Specified by:
intercept
in interface net.sf.cglib.proxy.MethodInterceptor
- Throws:
java.lang.Throwable
Copyright © 2005-2008 Agical AB. All Rights Reserved.