com.atlassian.confluence.xwork
Class WebWorkActionHelper

java.lang.Object
  extended by 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
 

Method Detail

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 class
methodName - the name of the action method
Returns:
Method - the action method named methodName
Throws:
NoSuchMethodException - if the method named methodName cannot be found


Copyright © 2003-2012 Atlassian. All Rights Reserved.