public class SandboxUberspectImpl extends UberspectImpl
UberspectImpl.FieldPropertyGet, UberspectImpl.FieldPropertySet, UberspectImpl.IndexedContainer| Modifier and Type | Field and Description |
|---|---|
protected Sandbox |
sandbox
The sandbox.
|
TRY_FAILEDrlog| Constructor and Description |
|---|
SandboxUberspectImpl(Log runtimeLogger,
Sandbox theSandbox)
A constructor for Sandbox uberspect.
|
| Modifier and Type | Method and Description |
|---|---|
JexlMethod |
getConstructorMethod(Object ctorHandle,
Object[] args,
JexlInfo info)
Returns a class constructor wrapped in a JexlMethod.
|
JexlMethod |
getMethod(Object obj,
String method,
Object[] args,
JexlInfo info)
Returns a JexlMethod.
|
JexlPropertyGet |
getPropertyGet(Object obj,
Object identifier,
JexlInfo info)
Property getter.
|
JexlPropertySet |
getPropertySet(Object obj,
Object identifier,
Object arg,
JexlInfo info)
Property setter.
|
void |
setLoader(ClassLoader cloader)
Resets this Uberspect class loader.
|
getConstructor, getField, getIndexedGet, getIteratorbase, getClassByName, getConstructor, getField, getFieldNames, getGetExecutor, getMethod, getMethod, getMethodExecutor, getMethodNames, getMethods, getSetExecutor, setClassLoader, toInteger, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetClassLoaderprotected final Sandbox sandbox
public void setLoader(ClassLoader cloader)
setLoader in class UberspectImplcloader - the class loader to usepublic JexlMethod getConstructorMethod(Object ctorHandle, Object[] args, JexlInfo info)
getConstructorMethod in interface UberspectgetConstructorMethod in class UberspectImplctorHandle - a class or class nameargs - constructor argumentsinfo - contextual informationConstructorpublic JexlMethod getMethod(Object obj, String method, Object[] args, JexlInfo info)
getMethod in interface UberspectgetMethod in class UberspectImplobj - the objectmethod - the method nameargs - method argumentsinfo - contextual informationJexlMethodpublic JexlPropertyGet getPropertyGet(Object obj, Object identifier, JexlInfo info)
Returns JexlPropertyGet appropos for ${bar.woogie}.
getPropertyGet in interface UberspectgetPropertyGet in class UberspectImplobj - the object to get the property fromidentifier - property nameinfo - contextual informationJexlPropertyGetpublic JexlPropertySet getPropertySet(Object obj, Object identifier, Object arg, JexlInfo info)
returns JelPropertySet appropos for ${foo.bar = "geir"}
.getPropertySet in interface UberspectgetPropertySet in class UberspectImplobj - the object to get the property from.identifier - property namearg - value to setinfo - contextual informationJexlPropertySet.Copyright © 2020 Internet2. All rights reserved.