com.agical.rmock.extension.cglib
Class ObjectMonitorInvocationHandler
java.lang.Object
com.agical.rmock.extension.cglib.BaseInvocationHandler
com.agical.rmock.extension.cglib.ObjectMonitorInvocationHandler
- All Implemented Interfaces:
- net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor
public class ObjectMonitorInvocationHandler
- extends BaseInvocationHandler
- implements net.sf.cglib.proxy.MethodInterceptor
- Author:
- brolund
(c) 2005 Agical AB
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 |
ObjectMonitorInvocationHandler
public ObjectMonitorInvocationHandler(InvocationHandler invocationHandler,
java.lang.String id,
java.lang.Class clazz,
InvocationListener invocationListener,
ObjectReferenceRetriever objectReferenceFromStacktrace,
ExpectationsState expectationsState)
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-2009 Agical AB. All Rights Reserved.