|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.struts.chain.commands.ActionCommandBase
org.apache.struts.chain.commands.ExecuteCommand
org.apache.struts.chain.commands.ExecuteForwardCommand
public class ExecuteForwardCommand
Look up and execute a commons-chain Command based on
properties of the ActionContext's forwardConfig property.
| Field Summary |
|---|
| Fields inherited from interface org.apache.commons.chain.Command |
|---|
CONTINUE_PROCESSING, PROCESSING_COMPLETE |
| Constructor Summary | |
|---|---|
ExecuteForwardCommand()
|
|
| Method Summary | |
|---|---|
protected org.apache.commons.chain.Command |
getCommand(ActionContext context)
Return the command specified by the command and
catalog properties of the forwardConfig
property of the given ActionContext. |
protected boolean |
shouldProcess(ActionContext context)
Determine whether the forwardConfig should be processed. |
| Methods inherited from class org.apache.struts.chain.commands.ExecuteCommand |
|---|
execute, getCommand |
| Methods inherited from class org.apache.struts.chain.commands.ActionCommandBase |
|---|
execute |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExecuteForwardCommand()
| Method Detail |
|---|
protected org.apache.commons.chain.Command getCommand(ActionContext context)
Return the command specified by the command and
catalog properties of the forwardConfig
property of the given ActionContext. If
forwardConfig is null, return null.
getCommand in class ExecuteCommandcontext - Our ActionContext
protected boolean shouldProcess(ActionContext context)
Determine whether the forwardConfig should be processed.
shouldProcess in class ExecuteCommandcontext - The ActionContext we are processing
true if the given ActionContext
has a non-null forwardConfig property.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||