|
Groovy 1.7.8 | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectgroovy.lang.GroovyObjectSupport
groovy.util.Proxy
public class Proxy extends GroovyObjectSupport
Dynamic groovy proxy for another object. All method invocations get forwarded to actual object, unless the proxy overrides it. See groovy/util/ProxyTest.groovy for usage details.
| Method Summary | |
|---|---|
Object
|
getAdaptee()
|
Object
|
invokeMethod(String name, Object args)
|
Iterator
|
iterator()
|
void
|
setAdaptee(Object adaptee)
|
Proxy
|
wrap(Object adaptee)
This method is for convenience. |
| Methods inherited from class GroovyObjectSupport | |
|---|---|
| getMetaClass, getProperty, invokeMethod, setMetaClass, setProperty |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Method Detail |
|---|
public Object getAdaptee()
public Object invokeMethod(String name, Object args)
public Iterator iterator()
public void setAdaptee(Object adaptee)
public Proxy wrap(Object adaptee)
Copyright © 2003-2010 The Codehaus. All rights reserved.