|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork2.DefaultUnknownHandlerManager
public class DefaultUnknownHandlerManager
Default implementation of UnknownHandlerManager
UnknownHandlerManager
Field Summary | |
---|---|
protected ArrayList<UnknownHandler> |
unknownHandlers
|
Constructor Summary | |
---|---|
DefaultUnknownHandlerManager()
|
Method Summary | |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ArrayList<UnknownHandler> unknownHandlers
Constructor Detail |
---|
public DefaultUnknownHandlerManager()
Method Detail |
---|
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 UnknownHandlerManager
public Object handleUnknownMethod(Object action, String methodName) throws NoSuchMethodException
handleUnknownMethod
in interface UnknownHandlerManager
NoSuchMethodException
public ActionConfig handleUnknownAction(String namespace, String actionName)
handleUnknownAction
in interface UnknownHandlerManager
NoSuchMethodException
public boolean hasUnknownHandlers()
hasUnknownHandlers
in interface UnknownHandlerManager
public List<UnknownHandler> getUnknownHandlers()
getUnknownHandlers
in interface UnknownHandlerManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |