org.easymock.internal
Class ClassProxyFactory<T>

java.lang.Object
  extended by org.easymock.internal.ClassProxyFactory<T>
Type Parameters:
T - type of the proxy created
All Implemented Interfaces:
IProxyFactory<T>

public class ClassProxyFactory<T>
extends Object
implements IProxyFactory<T>

Factory generating a mock for a class.

Author:
Henri Tremblay

Nested Class Summary
static class ClassProxyFactory.MockMethodInterceptor
           
 
Constructor Summary
ClassProxyFactory()
           
 
Method Summary
 T createProxy(Class<T> toMock, InvocationHandler handler)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassProxyFactory

public ClassProxyFactory()
Method Detail

createProxy

public T createProxy(Class<T> toMock,
                     InvocationHandler handler)
Specified by:
createProxy in interface IProxyFactory<T>


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