Package ognl
Class AbstractMemberAccess
java.lang.Object
ognl.AbstractMemberAccess
- All Implemented Interfaces:
MemberAccess
Used as a based class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRestores the member from the previous setup call.setup(OgnlContext context, Object target, Member member, String propertyName) Sets the member up for accessibilityMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ognl.MemberAccess
isAccessible
-
Constructor Details
-
AbstractMemberAccess
public AbstractMemberAccess()
-
-
Method Details
-
setup
Description copied from interface:MemberAccessSets the member up for accessibility- Specified by:
setupin interfaceMemberAccess- 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:MemberAccessRestores the member from the previous setup call.- Specified by:
restorein interfaceMemberAccess- 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).
-