public interface UnknownHandler
Modifier and Type | Method and Description |
---|---|
ActionConfig |
handleUnknownAction(String namespace,
String actionName)
Handles the case when an action configuration is unknown.
|
Object |
handleUnknownActionMethod(Object action,
String methodName)
Handles the case when an action method cannot be found.
|
Result |
handleUnknownResult(ActionContext actionContext,
String actionName,
ActionConfig actionConfig,
String resultCode)
Handles the case when a result cannot be found for an action and result code.
|
ActionConfig handleUnknownAction(String namespace, String actionName) throws XWorkException
namespace
- The namespaceactionName
- The action nameXWorkException
Result handleUnknownResult(ActionContext actionContext, String actionName, ActionConfig actionConfig, String resultCode) throws XWorkException
actionContext
- The action contextactionName
- The action nameactionConfig
- The action configresultCode
- The returned result codeXWorkException
Object handleUnknownActionMethod(Object action, String methodName) throws NoSuchMethodException
action
- The action objectmethodName
- The method name to callNoSuchMethodException
- If the method cannot be foundCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.