Package 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
public static class ClassProxyFactory.MockMethodInterceptor extends Object implements net.sf.cglib.proxy.MethodInterceptor, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MockMethodInterceptor(InvocationHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
intercept(Object obj, Method method, Object[] args, net.sf.cglib.proxy.MethodProxy proxy)
void
setMockedMethods(Method... mockedMethods)
-
-
-
Constructor Detail
-
MockMethodInterceptor
public MockMethodInterceptor(InvocationHandler handler)
-
-
Method Detail
-
intercept
public Object intercept(Object obj, Method method, Object[] args, net.sf.cglib.proxy.MethodProxy proxy) throws Throwable
- Specified by:
intercept
in interfacenet.sf.cglib.proxy.MethodInterceptor
- Throws:
Throwable
-
setMockedMethods
public void setMockedMethods(Method... mockedMethods)
-
-