public class ExecuteForwardCommand extends ExecuteCommand
Look up and execute a commons-chain Command based on
properties of the ActionContext's forwardConfig property.
| Constructor and Description |
|---|
ExecuteForwardCommand() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
execute, getCommandexecuteprotected 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 ActionContextprotected boolean shouldProcess(ActionContext context)
Determine whether the forwardConfig should be processed.
shouldProcess in class ExecuteCommandcontext - The ActionContext we are processingtrue if the given ActionContext
has a non-null forwardConfig property.
Copyright © 2000–2025 Apache Software Foundation. All rights reserved.