|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.chain.CreateAction
Create (if necessary) and cache an Action
for this request.
Field Summary | |
private java.lang.String |
actionConfigKey
|
private java.lang.String |
actionKey
|
private java.lang.String |
actionServletKey
|
private static org.apache.commons.logging.Log |
log
|
private java.lang.String |
validKey
|
Constructor Summary | |
CreateAction()
|
Method Summary | |
boolean |
execute(org.apache.commons.chain.Context context)
Create (if necessary) and cache an Action for 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 |
getActionKey()
Return the context attribute key under which the Action for the currently selected application
action is stored. |
protected java.util.Map |
getActions(org.apache.commons.chain.Context context,
org.apache.struts.config.ModuleConfig moduleConfig)
Create (if necessary) and return a Map containing the
Action instances for the current application module. |
java.lang.String |
getActionServletKey()
Return the context attribute key under which the ActionServlet for the current web application
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 |
setActionKey(java.lang.String actionKey)
Set the context attribute key under which the Action for the currently selected application
action is stored. |
void |
setActionServletKey(java.lang.String actionServletKey)
Set the context attribute key under which the ActionServlet for the current web application
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 static final org.apache.commons.logging.Log log
private java.lang.String actionKey
private java.lang.String actionConfigKey
private java.lang.String actionServletKey
private java.lang.String validKey
Constructor Detail |
public CreateAction()
Method Detail |
public java.lang.String getActionKey()
Return the context attribute key under which the
Action
for the currently selected application
action is stored.
public void setActionKey(java.lang.String actionKey)
Set the context attribute key under which the
Action
for the currently selected application
action is stored.
actionKey
- The new context attribute keypublic 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 getActionServletKey()
Return the context attribute key under which the
ActionServlet
for the current web application
is stored.
public void setActionServletKey(java.lang.String actionServletKey)
Set the context attribute key under which the
ActionServlet
for the current web application
is stored.
actionServletKey
- 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 keypublic boolean execute(org.apache.commons.chain.Context context) throws java.lang.Exception
Create (if necessary) and cache an Action
for this
request.
execute
in interface org.apache.commons.chain.Command
context
- The Context
for the current request
false
so that processing continues
java.lang.Exception
protected java.util.Map getActions(org.apache.commons.chain.Context context, org.apache.struts.config.ModuleConfig moduleConfig)
Create (if necessary) and return a Map
containing the
Action
instances for the current application module.
context
- The context for this requestmoduleConfig
- The ModuleConfig
for the current
application module
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |