com.thoughtworks.proxy.toys.echo
Class Echoing<T>
java.lang.Object
com.thoughtworks.proxy.toys.echo.Echoing<T>
public class Echoing<T>
- extends Object
Factory for echoing proxy instances.
The Echoing toy acts as a decorator where every method invocation is written to a PrintWriter first.
- Since:
- 0.1
- Author:
- Dan North, Jörg Schaible, Juan Li, Paul Hammant
- See Also:
com.thoughtworks.proxy.toys.echo
Method Summary |
static
|
proxy(Class<T> type)
Creates a factory for proxy instances that allow delegation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
proxy
public static <T> Echoing.EchoingWithOrTo<T> proxy(Class<T> type)
- Creates a factory for proxy instances that allow delegation.
- Parameters:
type
- the type of the proxy when it is finally created.
- Returns:
- a factory that will proxy instances of the supplied type.
- Since:
- 1.0
Copyright © 2005-2010 Codehaus. All Rights Reserved.