当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
ExecutionContext - JBOSS Portal 2.2 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.
currentCommandContext
protected CommandContext currentCommandContext
- The current command context.
currentForwardCommandContext
protected CommandContext currentForwardCommandContext
- The forward command context if any.
ExecutionContext
public ExecutionContext(CoreController controller,
ServerInvocation serverInvocation)
getServerInvocation
public ServerInvocation getServerInvocation()
getController
public CoreController getController()
encodeURL
public java.lang.String encodeURL(ControllerCommand cmd,
URLInfo urlInfo)
execute
public void execute(ControllerCommand nextCommand,
URLInfo urlInfo)
throws InvocationException
- Throws:
InvocationException
execute
public void execute(CommandContext commandContext)
throws InvocationException
- Throws:
InvocationException
forward
public void forward(ControllerCommand forwardCommand,
URLInfo urlInfo)