|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.chain.AbstractSelectAction
Cache the ActionConfig
instance for the
action to be used for processing this request.
Field Summary | |
private java.lang.String |
actionConfigKey
|
private java.lang.String |
moduleConfigKey
|
Constructor Summary | |
AbstractSelectAction()
|
Method Summary | |
boolean |
execute(org.apache.commons.chain.Context context)
Cache the ActionConfig instance for the
action to be used for processing this request. |
java.lang.String |
getActionConfigKey()
Return the context attribute key under which the ActionConfig for the currently selected application
action is stored. |
java.lang.String |
getModuleConfigKey()
Return the context attribute key under which the ModuleConfig for the currently selected application
module is stored. |
protected abstract java.lang.String |
getPath(org.apache.commons.chain.Context context)
Return the path to be used to select the ActionConfig
for this request. |
void |
setActionConfigKey(java.lang.String actionConfigKey)
Set the context attribute key under which the ActionConfig for the currently selected application
action is stored. |
void |
setModuleConfigKey(java.lang.String moduleConfigKey)
Set the context attribute key under which the ModuleConfig for the currently selected application
module 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 moduleConfigKey
Constructor Detail |
public AbstractSelectAction()
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 getModuleConfigKey()
Return the context attribute key under which the
ModuleConfig
for the currently selected application
module is stored.
public void setModuleConfigKey(java.lang.String moduleConfigKey)
Set the context attribute key under which the
ModuleConfig
for the currently selected application
module is stored.
moduleConfigKey
- The new context attribute keypublic boolean execute(org.apache.commons.chain.Context context) throws java.lang.Exception
Cache the ActionConfig
instance for the
action to be used for processing this request.
execute
in interface org.apache.commons.chain.Command
context
- The Context
for the current request
false
so that processing continues
java.lang.IllegalArgumentException
- if no valid
action can be identified for this request
java.lang.Exception
protected abstract java.lang.String getPath(org.apache.commons.chain.Context context)
Return the path to be used to select the ActionConfig
for this request.
context
- The Context
for this request
java.lang.IllegalArgumentException
- if no valid
action can be identified for this request
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |