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, getProperty, setMetaClass, setPropertypublic Proxy wrap(Object adaptee)
public Object getAdaptee()
public void setAdaptee(Object adaptee)
public Object invokeMethod(String name, Object args)
GroovyObjectinvokeMethod in interface GroovyObjectinvokeMethod in class GroovyObjectSupportname - the name of the method to callargs - the arguments to use for the method callpublic Iterator iterator()