Class 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  
      • Fields inherited from class org.apache.commons.jexl2.introspection.UberspectImpl

        TRY_FAILED
      • Fields inherited from class org.apache.commons.jexl2.internal.Introspector

        rlog
    • 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface org.apache.commons.jexl2.introspection.Uberspect

        setClassLoader
    • 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 class org.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 interface org.apache.commons.jexl2.introspection.Uberspect
        Overrides:
        getConstructorMethod in class org.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 interface org.apache.commons.jexl2.introspection.Uberspect
        Overrides:
        getMethod in class org.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 interface org.apache.commons.jexl2.introspection.Uberspect
        Overrides:
        getPropertyGet in class org.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 interface org.apache.commons.jexl2.introspection.Uberspect
        Overrides:
        getPropertySet in class org.apache.commons.jexl2.introspection.UberspectImpl