com.agical.rmock.extension.cglib
Class InterfaceInterceptionInvocationHandler

java.lang.Object
  extended by com.agical.rmock.extension.cglib.BaseInvocationHandler
      extended by com.agical.rmock.extension.cglib.ObjectInterceptionInvocationHandler
          extended by com.agical.rmock.extension.cglib.InterfaceInterceptionInvocationHandler
All Implemented Interfaces:
net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor

public class InterfaceInterceptionInvocationHandler
extends ObjectInterceptionInvocationHandler
implements net.sf.cglib.proxy.MethodInterceptor


Constructor Summary
InterfaceInterceptionInvocationHandler(InvocationHandler invocationHandler, String id, Class clazz, ProxyFactory proxyFactory, ExpectationsState expectationsState, InvocationListener invocationListener, ObjectReferenceRetriever objectReferenceFromStacktrace)
           
 
Method Summary
 Object intercept(Object self, Method invokedMethod, Object[] arguments, net.sf.cglib.proxy.MethodProxy baseClassMethod)
           
 
Methods inherited from class com.agical.rmock.extension.cglib.BaseInvocationHandler
sendInvocationListenerEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterfaceInterceptionInvocationHandler

public InterfaceInterceptionInvocationHandler(InvocationHandler invocationHandler,
                                              String id,
                                              Class clazz,
                                              ProxyFactory proxyFactory,
                                              ExpectationsState expectationsState,
                                              InvocationListener invocationListener,
                                              ObjectReferenceRetriever objectReferenceFromStacktrace)
Method Detail

intercept

public Object intercept(Object self,
                        Method invokedMethod,
                        Object[] arguments,
                        net.sf.cglib.proxy.MethodProxy baseClassMethod)
                 throws Throwable
Specified by:
intercept in interface net.sf.cglib.proxy.MethodInterceptor
Overrides:
intercept in class ObjectInterceptionInvocationHandler
Throws:
Throwable


Copyright © 2005-2011 Agical AB. All Rights Reserved.