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