public class Proxy extends GroovyObjectSupport
Constructor and Description |
---|
Proxy() |
Modifier and Type | Method and Description |
---|---|
Object |
getAdaptee() |
Object |
invokeMethod(String name,
Object args)
Invokes the given method.
|
Iterator |
iterator() |
void |
setAdaptee(Object adaptee) |
Proxy |
wrap(Object adaptee)
This method is for convenience.
|
getMetaClass, setMetaClass
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getProperty, setProperty
public Proxy wrap(Object adaptee)
public Object getAdaptee()
public void setAdaptee(Object adaptee)
public Object invokeMethod(String name, Object args)
GroovyObject
name
- the name of the method to callargs
- the arguments to use for the method callpublic Iterator iterator()