|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.chain.AbstractExecuteAction
Invoke the appropriate Action
for this request, and cache
the returned ActionForward
.
Field Summary | |
private java.lang.String |
actionConfigKey
|
private java.lang.String |
actionFormKey
|
private java.lang.String |
actionKey
|
private java.lang.String |
forwardConfigKey
|
private java.lang.String |
validKey
|
Constructor Summary | |
AbstractExecuteAction()
|
Method Summary | |
boolean |
execute(org.apache.commons.chain.Context context)
Invoke the appropriate Action for this request, and cache
the returned ActionForward . |
protected abstract org.apache.struts.config.ForwardConfig |
execute(org.apache.commons.chain.Context context,
org.apache.struts.action.Action action,
org.apache.struts.config.ActionConfig actionConfig,
org.apache.struts.action.ActionForm actionForm)
Execute the specified Action , and return the resulting
ForwardConfig . |
java.lang.String |
getActionConfigKey()
Return the context attribute key under which the ActionConfig for the currently selected application
action is stored. |
java.lang.String |
getActionFormKey()
Return the context attribute key under which the ActionForm 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. |
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 |
setActionFormKey(java.lang.String actionFormKey)
Set the context attribute key under which the ActionForm 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 |
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 actionKey
private java.lang.String actionConfigKey
private java.lang.String actionFormKey
private java.lang.String forwardConfigKey
private java.lang.String validKey
Constructor Detail |
public AbstractExecuteAction()
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 getActionFormKey()
Return the context attribute key under which the
ActionForm
for the currently selected application
action is stored.
public void setActionFormKey(java.lang.String actionFormKey)
Set the context attribute key under which the
ActionForm
for the currently selected application
action is stored.
actionFormKey
- 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 keypublic boolean execute(org.apache.commons.chain.Context context) throws java.lang.Exception
Invoke the appropriate Action
for this request, and cache
the returned ActionForward
.
execute
in interface org.apache.commons.chain.Command
context
- The Context
for the current request
false
so that processing continues
InvalidPathException
- if no valid
action can be identified for this request
java.lang.Exception
protected abstract org.apache.struts.config.ForwardConfig execute(org.apache.commons.chain.Context context, org.apache.struts.action.Action action, org.apache.struts.config.ActionConfig actionConfig, org.apache.struts.action.ActionForm actionForm) throws java.lang.Exception
Execute the specified Action
, and return the resulting
ForwardConfig
.
context
- The Context
for this requestaction
- The Action
to be executedactionConfig
- The ActionConfig
defining this actionactionForm
- The ActionForm
(if any) for
this action
java.lang.Exception
- if thrown by the Action
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |