|
||||||||||
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(java.lang.String namespace,
java.lang.String actionName)
Handles the case when an action configuration is unknown. |
java.lang.Object |
handleUnknownActionMethod(java.lang.Object action,
java.lang.String methodName)
Handles the case when an action method cannot be found. |
Result |
handleUnknownResult(ActionContext actionContext,
java.lang.String actionName,
ActionConfig actionConfig,
java.lang.String resultCode)
Handles the case when a result cannot be found for an action and result code. |
Method Detail |
---|
ActionConfig handleUnknownAction(java.lang.String namespace, java.lang.String actionName) throws XWorkException
namespace
- The namespaceactionName
- The action name
XWorkException
Result handleUnknownResult(ActionContext actionContext, java.lang.String actionName, ActionConfig actionConfig, java.lang.String resultCode) throws XWorkException
actionContext
- The action contextactionName
- The action nameactionConfig
- The action configresultCode
- The returned result code
XWorkException
java.lang.Object handleUnknownActionMethod(java.lang.Object action, java.lang.String methodName) throws java.lang.NoSuchMethodException
action
- The action objectmethodName
- The method name to call
java.lang.NoSuchMethodException
- If the method cannot be found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |