Package ognl

Class AbstractMemberAccess

java.lang.Object
ognl.AbstractMemberAccess
All Implemented Interfaces:
MemberAccess

public abstract class AbstractMemberAccess extends Object implements MemberAccess
Used as a based class
  • Constructor Details

    • AbstractMemberAccess

      public AbstractMemberAccess()
  • Method Details

    • setup

      public Object setup(OgnlContext context, Object target, Member member, String propertyName)
      Description copied from interface: MemberAccess
      Sets the member up for accessibility
      Specified by:
      setup in interface MemberAccess
      Parameters:
      context - the current execution context.
      target - the Object upon which to perform the setup operation.
      member - the Member upon which to perform the setup operation.
      propertyName - the property upon which to perform the setup operation.
      Returns:
      the Object representing the original accessibility state of the target prior to the setup operation.
    • restore

      public void restore(OgnlContext context, Object target, Member member, String propertyName, Object state)
      Description copied from interface: MemberAccess
      Restores the member from the previous setup call.
      Specified by:
      restore in interface MemberAccess
      Parameters:
      context - the current execution context.
      target - the Object upon which to perform the setup operation.
      member - the Member upon which to perform the setup operation.
      propertyName - the property upon which to perform the setup operation.
      state - the Object holding the state to restore (target state prior to the setup operation).