当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
CommandContext - JBOSS Portal 2.2 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.
urlInfo
protected final URLInfo urlInfo
- The url info
executionContext
protected ExecutionContext executionContext
- The execution context.
CommandContext
public CommandContext(ControllerCommand command,
URLInfo urlInfo,
ExecutionContext executionContext)
- Depth of the forward chain.
getExecutionContext
public ExecutionContext getExecutionContext()
getCommand
public ControllerCommand getCommand()
getURLInfo
public URLInfo getURLInfo()
execute
protected void execute()
throws InvocationException
- Throws:
InvocationException
forward
public void forward(ControllerCommand nextCommand)
throws InvocationException
- Throws:
InvocationException
forward
public void forward(ControllerCommand nextCommand,
URLInfo urlInfo)
throws InvocationException
- Throws:
InvocationException
chain
public void chain(ControllerCommand nextCommand)
throws InvocationException
- Throws:
InvocationException
encodeURL
public java.lang.String encodeURL(ControllerCommand cmd)
toString
public java.lang.String toString()