|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.chain.AbstractSelectForward
Select and cache the ActionForward for this
ActionConfig if specified.
| Field Summary | |
private java.lang.String |
actionConfigKey
|
private java.lang.String |
forwardConfigKey
|
private static org.apache.commons.logging.Log |
log
|
private java.lang.String |
validKey
|
| Constructor Summary | |
AbstractSelectForward()
|
|
| Method Summary | |
boolean |
execute(org.apache.commons.chain.Context context)
Select and cache the ActionForward for this
ActionConfig if specified. |
protected abstract org.apache.struts.config.ForwardConfig |
forward(org.apache.commons.chain.Context context,
org.apache.struts.config.ModuleConfig moduleConfig,
java.lang.String uri)
Create and return a ForwardConfig representing the
specified module-relative destination. |
java.lang.String |
getActionConfigKey()
Return the context attribute key under which the ActionConfig for the currently selected application
action is stored. |
java.lang.String |
getForwardConfigKey()
Return the context attribute key under which the ForwardConfig for the currently selected application
action is stored. |
java.lang.String |
getValidKey()
Return the context attribute key under which the validity flag for this request is stored. |
void |
setActionConfigKey(java.lang.String actionConfigKey)
Set the context attribute key under which the ActionConfig for the currently selected application
action is stored. |
void |
setForwardConfigKey(java.lang.String forwardConfigKey)
Set the context attribute key under which the ForwardConfig for the currently selected application
action is stored. |
void |
setValidKey(java.lang.String validKey)
Set the context attribute key under which the validity flag for this request is stored. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.lang.String actionConfigKey
private java.lang.String forwardConfigKey
private java.lang.String validKey
private static final org.apache.commons.logging.Log log
| Constructor Detail |
public AbstractSelectForward()
| Method Detail |
public java.lang.String getActionConfigKey()
Return the context attribute key under which the
ActionConfig for the currently selected application
action is stored.
public void setActionConfigKey(java.lang.String actionConfigKey)
Set the context attribute key under which the
ActionConfig for the currently selected application
action is stored.
actionConfigKey - The new context attribute keypublic java.lang.String getForwardConfigKey()
Return the context attribute key under which the
ForwardConfig for the currently selected application
action is stored.
public void setForwardConfigKey(java.lang.String forwardConfigKey)
Set the context attribute key under which the
ForwardConfig for the currently selected application
action is stored.
forwardConfigKey - The new context attribute keypublic java.lang.String getValidKey()
Return the context attribute key under which the validity flag for this request is stored.
public void setValidKey(java.lang.String validKey)
Set the context attribute key under which the validity flag for this request is stored.
validKey - The new context attribute key
public boolean execute(org.apache.commons.chain.Context context)
throws java.lang.Exception
Select and cache the ActionForward for this
ActionConfig if specified.
execute in interface org.apache.commons.chain.Commandcontext - The Context for the current request
false so that processing continues
java.lang.Exception
protected abstract org.apache.struts.config.ForwardConfig forward(org.apache.commons.chain.Context context,
org.apache.struts.config.ModuleConfig moduleConfig,
java.lang.String uri)
Create and return a ForwardConfig representing the
specified module-relative destination.
context - The context for this requestmoduleConfig - The ModuleConfig for this requesturi - The module-relative URI to be the destination
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||