| Package | Description |
|---|---|
| com.thoughtworks.proxy.toys.decorate |
A toy to decorate the interaction with another object.
|
| com.thoughtworks.proxy.toys.echo |
A toy to trace method calls to objects.
|
| Modifier and Type | Field and Description |
|---|---|
private Decorator<T> |
Decorating.decorator |
private Decorator<T> |
DecoratingInvoker.decorator |
| Modifier and Type | Method and Description |
|---|---|
Decorating.DecoratingBuild<U,T> |
Decorating.DecoratingVisitor.visiting(Decorator<T> decorator)
specify the visited decorator
|
| Constructor and Description |
|---|
DecoratingInvoker(Invoker decorated,
Decorator<T> decorator)
Construct a DecoratingInvoker decorating another Invoker.
|
DecoratingInvoker(java.lang.Object delegate,
Decorator<T> decorator)
Construct a DecoratingInvoker decorating another object.
|
| Modifier and Type | Class and Description |
|---|---|
class |
EchoDecorator<T>
A
Decorator implementation that echoes any invocation to a PrintWriter. |