Package ognl

Interface AccessibleObjectHandler

  • All Known Implementing Classes:
    AccessibleObjectHandlerJDK9Plus, AccessibleObjectHandlerPreJDK9

    public interface AccessibleObjectHandler
    This interface provides a mechanism for indirect reflection access processing of AccessibleObject instances by OGNL. It can be used to provide different behaviour as JDK reflection mechanisms evolve.
    Since:
    3.1.24
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void setAccessible​(java.lang.reflect.AccessibleObject accessibleObject, boolean flag)
      Provides an appropriate implementation to change the accessibility of accessibleObject.
    • Method Detail

      • setAccessible

        void setAccessible​(java.lang.reflect.AccessibleObject accessibleObject,
                           boolean flag)
        Provides an appropriate implementation to change the accessibility of accessibleObject.
        Parameters:
        accessibleObject - the AccessibleObject upon which to apply the flag.
        flag - the new accessible flag value.