Package org.opennms.core.utils.jexl
Class OnmsJexlUberspect
- java.lang.Object
-
- org.apache.commons.jexl2.internal.Introspector
-
- org.apache.commons.jexl2.introspection.UberspectImpl
-
- org.opennms.core.utils.jexl.OnmsJexlUberspect
-
- All Implemented Interfaces:
org.apache.commons.jexl2.introspection.Uberspect
public class OnmsJexlUberspect extends org.apache.commons.jexl2.introspection.UberspectImpl
A modified implementation of the jexl2 Uberspect class to use the OnmsJexlSandbox implementation.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.commons.jexl2.introspection.UberspectImpl
org.apache.commons.jexl2.introspection.UberspectImpl.FieldPropertyGet, org.apache.commons.jexl2.introspection.UberspectImpl.FieldPropertySet, org.apache.commons.jexl2.introspection.UberspectImpl.IndexedContainer
-
-
Field Summary
Fields Modifier and Type Field Description protected OnmsJexlSandbox
sandbox
-
Constructor Summary
Constructors Constructor Description OnmsJexlUberspect(org.apache.commons.logging.Log runtimeLogger, OnmsJexlSandbox theSandbox)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.commons.jexl2.introspection.JexlMethod
getConstructorMethod(java.lang.Object ctorHandle, java.lang.Object[] args, org.apache.commons.jexl2.JexlInfo info)
org.apache.commons.jexl2.introspection.JexlMethod
getMethod(java.lang.Object obj, java.lang.String method, java.lang.Object[] args, org.apache.commons.jexl2.JexlInfo info)
org.apache.commons.jexl2.introspection.JexlPropertyGet
getPropertyGet(java.lang.Object obj, java.lang.Object identifier, org.apache.commons.jexl2.JexlInfo info)
org.apache.commons.jexl2.introspection.JexlPropertySet
getPropertySet(java.lang.Object obj, java.lang.Object identifier, java.lang.Object arg, org.apache.commons.jexl2.JexlInfo info)
void
setLoader(java.lang.ClassLoader cloader)
-
Methods inherited from class org.apache.commons.jexl2.introspection.UberspectImpl
getConstructor, getField, getIndexedGet, getIterator
-
Methods inherited from class org.apache.commons.jexl2.internal.Introspector
base, getClassByName, getConstructor, getField, getFieldNames, getGetExecutor, getMethod, getMethod, getMethodExecutor, getMethodNames, getMethods, getSetExecutor, setClassLoader, toInteger, toString
-
-
-
-
Field Detail
-
sandbox
protected final OnmsJexlSandbox sandbox
-
-
Constructor Detail
-
OnmsJexlUberspect
public OnmsJexlUberspect(org.apache.commons.logging.Log runtimeLogger, OnmsJexlSandbox theSandbox)
-
-
Method Detail
-
setLoader
public void setLoader(java.lang.ClassLoader cloader)
- Overrides:
setLoader
in classorg.apache.commons.jexl2.introspection.UberspectImpl
-
getConstructorMethod
public org.apache.commons.jexl2.introspection.JexlMethod getConstructorMethod(java.lang.Object ctorHandle, java.lang.Object[] args, org.apache.commons.jexl2.JexlInfo info)
- Specified by:
getConstructorMethod
in interfaceorg.apache.commons.jexl2.introspection.Uberspect
- Overrides:
getConstructorMethod
in classorg.apache.commons.jexl2.introspection.UberspectImpl
-
getMethod
public org.apache.commons.jexl2.introspection.JexlMethod getMethod(java.lang.Object obj, java.lang.String method, java.lang.Object[] args, org.apache.commons.jexl2.JexlInfo info)
- Specified by:
getMethod
in interfaceorg.apache.commons.jexl2.introspection.Uberspect
- Overrides:
getMethod
in classorg.apache.commons.jexl2.introspection.UberspectImpl
-
getPropertyGet
public org.apache.commons.jexl2.introspection.JexlPropertyGet getPropertyGet(java.lang.Object obj, java.lang.Object identifier, org.apache.commons.jexl2.JexlInfo info)
- Specified by:
getPropertyGet
in interfaceorg.apache.commons.jexl2.introspection.Uberspect
- Overrides:
getPropertyGet
in classorg.apache.commons.jexl2.introspection.UberspectImpl
-
getPropertySet
public org.apache.commons.jexl2.introspection.JexlPropertySet getPropertySet(java.lang.Object obj, java.lang.Object identifier, java.lang.Object arg, org.apache.commons.jexl2.JexlInfo info)
- Specified by:
getPropertySet
in interfaceorg.apache.commons.jexl2.introspection.Uberspect
- Overrides:
getPropertySet
in classorg.apache.commons.jexl2.introspection.UberspectImpl
-
-