com.opensymphony.xwork2.ognl
Class StaticMemberAccess
java.lang.Object
ognl.DefaultMemberAccess
com.opensymphony.xwork2.ognl.StaticMemberAccess
- All Implemented Interfaces:
- ognl.MemberAccess
public class StaticMemberAccess
- extends ognl.DefaultMemberAccess
Allows access decisions to be made on the basis of whether a member is static or not
Fields inherited from class ognl.DefaultMemberAccess |
allowPackageProtectedAccess, allowPrivateAccess, allowProtectedAccess |
Methods inherited from class ognl.DefaultMemberAccess |
getAllowPackageProtectedAccess, getAllowPrivateAccess, getAllowProtectedAccess, restore, setAllowPackageProtectedAccess, setAllowPrivateAccess, setAllowProtectedAccess, setup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allowStaticMethodAccess
private boolean allowStaticMethodAccess
StaticMemberAccess
public StaticMemberAccess(boolean method)
getAllowStaticMethodAccess
public boolean getAllowStaticMethodAccess()
setAllowStaticMethodAccess
public void setAllowStaticMethodAccess(boolean allowStaticMethodAccess)
isAccessible
public boolean isAccessible(Map context,
Object target,
Member member,
String propertyName)
- Specified by:
isAccessible
in interface ognl.MemberAccess
- Overrides:
isAccessible
in class ognl.DefaultMemberAccess
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.