Package org.apache.struts2.ognl.accessor
Class XWorkMethodAccessor
java.lang.Object
ognl.ObjectMethodAccessor
org.apache.struts2.ognl.accessor.XWorkMethodAccessor
- All Implemented Interfaces:
- ognl.MethodAccessor
public class XWorkMethodAccessor
extends ognl.ObjectMethodAccessor
Allows methods to be executed under normal cirumstances, except when 
ReflectionContextState.DENY_METHOD_EXECUTION
 is in the action context with a value of true.- Author:
- Patrick Lightbody, tmjee
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
XWorkMethodAccessorpublic XWorkMethodAccessor()
 
- 
- 
Method Details- 
callMethodpublic Object callMethod(Map context, Object object, String string, Object[] objects) throws ognl.MethodFailedException - Specified by:
- callMethodin interface- ognl.MethodAccessor
- Overrides:
- callMethodin class- ognl.ObjectMethodAccessor
- Throws:
- ognl.MethodFailedException
 
- 
callStaticMethodpublic Object callStaticMethod(Map context, Class aClass, String string, Object[] objects) throws ognl.MethodFailedException - Specified by:
- callStaticMethodin interface- ognl.MethodAccessor
- Overrides:
- callStaticMethodin class- ognl.ObjectMethodAccessor
- Throws:
- ognl.MethodFailedException
 
 
-