public class SandboxInvoker extends Object implements Invoker
Invoker that goes through the groovy-sandbox GroovyInterceptor,
so that interactions with Groovy objects can be inspected.| Constructor and Description |
|---|
SandboxInvoker() |
| Modifier and Type | Method and Description |
|---|---|
Object |
constructorCall(Class lhs,
Object[] args) |
Object |
getArray(Object lhs,
Object index) |
Object |
getAttribute(Object lhs,
String name) |
Object |
getProperty(Object lhs,
String name) |
Object |
methodCall(Object receiver,
String method,
Object[] args) |
void |
setArray(Object lhs,
Object index,
Object value) |
void |
setAttribute(Object lhs,
String name,
Object value) |
void |
setProperty(Object lhs,
String name,
Object value) |
public Object methodCall(Object receiver, String method, Object[] args) throws Throwable
methodCall in interface InvokerThrowablepublic Object constructorCall(Class lhs, Object[] args) throws Throwable
constructorCall in interface InvokerThrowablepublic Object getProperty(Object lhs, String name) throws Throwable
getProperty in interface InvokerThrowablepublic void setProperty(Object lhs, String name, Object value) throws Throwable
setProperty in interface InvokerThrowablepublic Object getAttribute(Object lhs, String name) throws Throwable
getAttribute in interface InvokerThrowablepublic void setAttribute(Object lhs, String name, Object value) throws Throwable
setAttribute in interface InvokerThrowableCopyright © 2011–2014. All rights reserved.