|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.struts.chain.AbstractPerformForward
Perform forwarding or redirection based on the specified
ForwardConfig
(if any).
Field Summary | |
private java.lang.String |
forwardConfigKey
|
private java.lang.String |
moduleConfigKey
|
Constructor Summary | |
AbstractPerformForward()
|
Method Summary | |
boolean |
execute(org.apache.commons.chain.Context context)
Perform forwarding or redirection based on the specified ActionForward (if any). |
java.lang.String |
getForwardConfigKey()
Return the context attribute key under which the ForwardConfig 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 will be stored. |
protected abstract void |
perform(org.apache.commons.chain.Context context,
org.apache.struts.config.ForwardConfig forwardConfig)
Perform the appropriate processing on the specified ForwardConfig . |
void |
setForwardConfigKey(java.lang.String forwardConfigKey)
Set the context attribute key under which the ForwardConfig 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 will be 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 forwardConfigKey
private java.lang.String moduleConfigKey
Constructor Detail |
public AbstractPerformForward()
Method Detail |
public 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 getModuleConfigKey()
Return the context attribute key under which the
ModuleConfig
for the currently selected application
module will be stored.
public void setModuleConfigKey(java.lang.String moduleConfigKey)
Set the context attribute key under which the
ModuleConfig
for the currently selected application
module will be stored.
moduleConfigKey
- The new context attribute keypublic boolean execute(org.apache.commons.chain.Context context) throws java.lang.Exception
Perform forwarding or redirection based on the specified
ActionForward
(if any).
execute
in interface org.apache.commons.chain.Command
context
- The Context
for the current request
true
so that processing completes
java.lang.Exception
protected abstract void perform(org.apache.commons.chain.Context context, org.apache.struts.config.ForwardConfig forwardConfig) throws java.lang.Exception
Perform the appropriate processing on the specified
ForwardConfig
.
context
- The context for this requestforwardConfig
- The forward to be performed
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |