public class DecoratingInvoker extends java.lang.Object implements Invoker
Invoker
.Constructor and Description |
---|
DecoratingInvoker(Invoker decorated,
InvocationDecorator decorator)
Construct a DecoratingInvoker decorating another Invoker.
|
DecoratingInvoker(java.lang.Object delegate,
InvocationDecorator 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.
|
public DecoratingInvoker(Invoker decorated, InvocationDecorator decorator)
decorated
- the decorated Invoker
.decorator
- the decorating instance.public DecoratingInvoker(java.lang.Object delegate, InvocationDecorator decorator)
delegate
- the decorated object.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