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

    Modifier and Type
    Method
    Description
    void
    setAccessible(AccessibleObject accessibleObject, boolean flag)
    Provides an appropriate implementation to change the accessibility of accessibleObject.
  • Method Details

    • setAccessible

      void setAccessible(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.