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, setMetaClassclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProperty, setPropertypublic Proxy wrap(Object adaptee)
public Object getAdaptee()
public void setAdaptee(Object adaptee)
public Object invokeMethod(String name, Object args)
GroovyObjectname - the name of the method to callargs - the arguments to use for the method callpublic Iterator iterator()