public class DefaultUnknownHandlerManager extends Object implements UnknownHandlerManager
UnknownHandlerManager| Modifier and Type | Field and Description |
|---|---|
protected ArrayList<UnknownHandler> |
unknownHandlers |
| Constructor and Description |
|---|
DefaultUnknownHandlerManager() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
build()
Builds a list of UnknowHandlers in the order specified by the configured "unknown-handler-stack".
|
List<UnknownHandler> |
getUnknownHandlers() |
ActionConfig |
handleUnknownAction(String namespace,
String actionName)
Iterate over UnknownHandlers and return the result of the first one that can handle it
|
Object |
handleUnknownMethod(Object action,
String methodName)
Iterate over UnknownHandlers and return the result of the first one that can handle it
|
Result |
handleUnknownResult(ActionContext actionContext,
String actionName,
ActionConfig actionConfig,
String resultCode)
Iterate over UnknownHandlers and return the result of the first one that can handle it
|
boolean |
hasUnknownHandlers() |
void |
setConfiguration(Configuration configuration) |
void |
setContainer(Container container) |
protected ArrayList<UnknownHandler> unknownHandlers
public void setConfiguration(Configuration configuration)
public void setContainer(Container container)
protected void build()
public Result handleUnknownResult(ActionContext actionContext, String actionName, ActionConfig actionConfig, String resultCode)
handleUnknownResult in interface UnknownHandlerManagerpublic Object handleUnknownMethod(Object action, String methodName) throws NoSuchMethodException
handleUnknownMethod in interface UnknownHandlerManagerNoSuchMethodExceptionpublic ActionConfig handleUnknownAction(String namespace, String actionName)
handleUnknownAction in interface UnknownHandlerManagerNoSuchMethodExceptionpublic boolean hasUnknownHandlers()
hasUnknownHandlers in interface UnknownHandlerManagerpublic List<UnknownHandler> getUnknownHandlers()
getUnknownHandlers in interface UnknownHandlerManagerCopyright © 2000-2013 Apache Software Foundation. All Rights Reserved.