当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
CommandContext - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.core.command
Class CommandContext
java.lang.Object
org.jboss.portal.core.command.CommandContext
- public class CommandContext
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
command
protected final ControllerCommand command
- The command executed within this context.
executionContext
protected ExecutionContext executionContext
- The execution context.
CommandContext
public CommandContext(ControllerCommand command)
- Depth of the forward chain.
getExecutionContext
public ExecutionContext getExecutionContext()
getCommand
public ControllerCommand getCommand()
forward
public void forward(ControllerCommand nextCommand)
throws InvocationException
- Throws:
InvocationException
forward
public void forward(ControllerCommand nextCommand,
URLContext urlContext)
throws InvocationException
- Throws:
InvocationException
chain
public void chain(ControllerCommand nextCommand)
throws CommandException
- Throws:
CommandException
toString
public java.lang.String toString()