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)
Deprecated.
@throws NoSuchMethodException If the method cannot be found should return null instead,
don't throw exception as other UnknownHandles won't be invoked
'throws NoSuchMethodException' signature will be removed with next
major release
|
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
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.