|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UnknownHandler
Handles cases when the result or action is unknown.
This allows other classes like Struts plugins to provide intelligent defaults easier.
Method Summary | |
---|---|
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. |
Method Detail |
---|
ActionConfig handleUnknownAction(String namespace, String actionName) throws XWorkException
namespace
- The namespaceactionName
- The action name
XWorkException
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 code
XWorkException
Object handleUnknownActionMethod(Object action, String methodName) throws NoSuchMethodException
action
- The action objectmethodName
- The method name to call
NoSuchMethodException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |