public class DecoratingInvoker<T> extends java.lang.Object implements Invoker
Invoker.| Modifier and Type | Field and Description |
|---|---|
private Invoker |
decorated |
private Decorator<T> |
decorator |
private static long |
serialVersionUID |
| 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 | Method and Description |
|---|---|
java.lang.Object |
invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
Invocation of a method of the proxied object.
|
private static final long serialVersionUID
private Invoker decorated
public DecoratingInvoker(Invoker decorated, Decorator<T> decorator)
decorated - the decorated Invoker.decorator - the decorating instance.public java.lang.Object invoke(java.lang.Object proxy,
java.lang.reflect.Method method,
java.lang.Object[] args)
throws java.lang.Throwable
Invoker