public class Echoing<T> extends Object
The Echoing toy acts as a decorator where every method invocation is written to a PrintWriter first.
com.thoughtworks.proxy.toys.echo
Modifier and Type | Class and Description |
---|---|
static class |
Echoing.EchoingBuild<T> |
static class |
Echoing.EchoingTo<T> |
static class |
Echoing.EchoingWithOrTo<T> |
Modifier and Type | Method and Description |
---|---|
static <T> Echoing.EchoingWithOrTo<T> |
proxy(Class<T> type)
Creates a factory for proxy instances that allow delegation.
|
public static <T> Echoing.EchoingWithOrTo<T> proxy(Class<T> type)
type
- the type of the proxy when it is finally created.Copyright © 2005–2019 Codehaus. All rights reserved.