org.easymock.internal
Class ClassProxyFactory.MockMethodInterceptor
java.lang.Object
org.easymock.internal.ClassProxyFactory.MockMethodInterceptor
- All Implemented Interfaces:
- Serializable, net.sf.cglib.proxy.Callback, net.sf.cglib.proxy.MethodInterceptor
- Enclosing class:
- ClassProxyFactory<T>
public static class ClassProxyFactory.MockMethodInterceptor
- extends Object
- implements net.sf.cglib.proxy.MethodInterceptor, Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassProxyFactory.MockMethodInterceptor
public ClassProxyFactory.MockMethodInterceptor(InvocationHandler handler)
intercept
public Object intercept(Object obj,
Method method,
Object[] args,
net.sf.cglib.proxy.MethodProxy proxy)
throws Throwable
- Specified by:
intercept
in interface net.sf.cglib.proxy.MethodInterceptor
- Throws:
Throwable
getHandler
public InvocationHandler getHandler()
setMockedMethods
public void setMockedMethods(Method... mockedMethods)
Copyright © 2001-2011 OFFIS, Tammo Freese, Henri Tremblay. All Rights Reserved.