com.atlassian.confluence.xwork
Class WebWorkActionHelper
java.lang.Object
com.atlassian.confluence.xwork.WebWorkActionHelper
public final class WebWorkActionHelper
- extends Object
Helper class for webwork actions.
- Since:
- 4.2
Method Summary |
static Method |
getActionMethod(Class<? extends com.opensymphony.xwork.Action> actionClass,
String methodName)
Finds the action method on the action class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getActionMethod
public static Method getActionMethod(Class<? extends com.opensymphony.xwork.Action> actionClass,
String methodName)
throws NoSuchMethodException
- Finds the action method on the action class. This method follows the logic found in
ActionConfig.getMethod()
without the need to instantiate the
action class.
- Parameters:
actionClass
- The webwork action classmethodName
- the name of the action method
- Returns:
- Method - the action method named
methodName
- Throws:
NoSuchMethodException
- if the method named methodName
cannot be found