org.easymock.internal
Class ObjectMethodsFilter

java.lang.Object
  extended by org.easymock.internal.ObjectMethodsFilter
All Implemented Interfaces:
Serializable, InvocationHandler

public class ObjectMethodsFilter
extends Object
implements InvocationHandler, Serializable

Author:
OFFIS, Tammo Freese, Henri Tremblay
See Also:
Serialized Form

Constructor Summary
ObjectMethodsFilter(Class<?> toMock, MockInvocationHandler delegate, String name)
           
 
Method Summary
 MockInvocationHandler getDelegate()
           
 Object invoke(Object proxy, Method method, Object[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectMethodsFilter

public ObjectMethodsFilter(Class<?> toMock,
                           MockInvocationHandler delegate,
                           String name)
Method Detail

invoke

public final Object invoke(Object proxy,
                           Method method,
                           Object[] args)
                    throws Throwable
Specified by:
invoke in interface InvocationHandler
Throws:
Throwable

getDelegate

public MockInvocationHandler getDelegate()


Copyright © 2001-2011 OFFIS, Tammo Freese, Henri Tremblay. All Rights Reserved.