Package ognl
Class AbstractMemberAccess
- java.lang.Object
-
- ognl.AbstractMemberAccess
-
- All Implemented Interfaces:
MemberAccess
public abstract class AbstractMemberAccess extends java.lang.Object implements MemberAccess
Used as a based class
-
-
Constructor Summary
Constructors Constructor Description AbstractMemberAccess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrestore(OgnlContext context, java.lang.Object target, java.lang.reflect.Member member, java.lang.String propertyName, java.lang.Object state)Restores the member from the previous setup call.java.lang.Objectsetup(OgnlContext context, java.lang.Object target, java.lang.reflect.Member member, java.lang.String propertyName)Sets the member up for accessibility-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ognl.MemberAccess
isAccessible
-
-
-
-
Method Detail
-
setup
public java.lang.Object setup(OgnlContext context, java.lang.Object target, java.lang.reflect.Member member, java.lang.String propertyName)
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, java.lang.Object target, java.lang.reflect.Member member, java.lang.String propertyName, java.lang.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).
-
-