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​(Object ctorHandle, Object[] args, org.apache.commons.jexl2.JexlInfo info)  
      org.apache.commons.jexl2.introspection.JexlMethod getMethod​(Object obj, String method, Object[] args, org.apache.commons.jexl2.JexlInfo info)  
      org.apache.commons.jexl2.introspection.JexlPropertyGet getPropertyGet​(Object obj, Object identifier, org.apache.commons.jexl2.JexlInfo info)  
      org.apache.commons.jexl2.introspection.JexlPropertySet getPropertySet​(Object obj, Object identifier, Object arg, org.apache.commons.jexl2.JexlInfo info)  
      void setLoader​(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 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​(ClassLoader cloader)
        Overrides:
        setLoader in class org.apache.commons.jexl2.introspection.UberspectImpl
      • getConstructorMethod

        public org.apache.commons.jexl2.introspection.JexlMethod getConstructorMethod​(Object ctorHandle,
                                                                                      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​(Object obj,
                                                                           String method,
                                                                           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​(Object obj,
                                                                                     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​(Object obj,
                                                                                     Object identifier,
                                                                                     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