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, java.lang.String id, java.lang.Class clazz, ProxyFactory proxyFactory, ExpectationsState expectationsState, InvocationListener invocationListener, ObjectReferenceRetriever objectReferenceFromStacktrace)
           
 
Method Summary
 java.lang.Object intercept(java.lang.Object self, java.lang.reflect.Method invokedMethod, java.lang.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,
                                              java.lang.String id,
                                              java.lang.Class clazz,
                                              ProxyFactory proxyFactory,
                                              ExpectationsState expectationsState,
                                              InvocationListener invocationListener,
                                              ObjectReferenceRetriever objectReferenceFromStacktrace)
Method Detail

intercept

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


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