当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
ExecutionContext - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.core.command
Class ExecutionContext
java.lang.Object
org.jboss.portal.core.command.ExecutionContext
- public class ExecutionContext
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nextDepth
protected int nextDepth
- Depth of the next chain.
currentForwardCommandContext
protected CommandContext currentForwardCommandContext
- The forward command context if any.
currentForwardURLContext
protected URLContext currentForwardURLContext
- .
ExecutionContext
public ExecutionContext(CoreController controller,
ServerInvocation serverInvocation)
getServerInvocation
public ServerInvocation getServerInvocation()
getController
public CoreController getController()
encodeURL
public java.lang.String encodeURL(ControllerCommand cmd,
URLContext urlContext,
URLFormat format)
execute
public void execute(ControllerCommand nextCommand)
throws CommandException
- Throws:
CommandException
execute
public void execute(CommandContext commandContext)
throws CommandException
- Throws:
CommandException
forward
public void forward(ControllerCommand forwardCommand,
URLContext urlContext)