public abstract class SingleArgInvokerChain extends Object implements GroovyInterceptor.Invoker
GroovyInterceptor.Invoker that chains multiple GroovyInterceptor instances.
This version expects exactly one argument.| Modifier and Type | Field and Description |
|---|---|
protected Iterator<GroovyInterceptor> |
chain |
| Constructor and Description |
|---|
SingleArgInvokerChain() |
| Modifier and Type | Method and Description |
|---|---|
Object |
call(Object receiver,
String method) |
Object |
call(Object receiver,
String method,
Object... args) |
Object |
call(Object receiver,
String method,
Object arg1,
Object arg2) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcallprotected final Iterator<GroovyInterceptor> chain
public final Object call(Object receiver, String method) throws Throwable
call in interface GroovyInterceptor.InvokerThrowablepublic final Object call(Object receiver, String method, Object arg1, Object arg2) throws Throwable
call in interface GroovyInterceptor.InvokerThrowableCopyright © 2012. All Rights Reserved.