Package org.apache.commons.ognl
Interface MemberAccess
- All Known Implementing Classes:
DefaultMemberAccess
public interface MemberAccess
This interface provides a hook for preparing for accessing members of objects. The Java2 version of this method can
allow access to otherwise inaccessable members, such as private fields.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns true if the given member is accessible or can be made accessible by this object.void
restore
(Map<String, Object> context, Object target, Member member, String propertyName, Object state) Restores the member from the previous setup call.Sets the member up for accessibility
-
Method Details
-
setup
Sets the member up for accessibility -
restore
void restore(Map<String, Object> context, Object target, Member member, String propertyName, Object state) Restores the member from the previous setup call. -
isAccessible
Returns true if the given member is accessible or can be made accessible by this object.
-