站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

ExecutionContext - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.core.command
Class ExecutionContext

java.lang.Object
  extended byorg.jboss.portal.core.command.ExecutionContext

public class ExecutionContext
extends java.lang.Object


Field Summary
protected  CommandContext currentForwardCommandContext
          The forward command context if any.
protected  URLContext currentForwardURLContext
          .
protected  int nextDepth
          Depth of the next chain.
 
Constructor Summary
ExecutionContext(CoreController controller, ServerInvocation serverInvocation)
           
 
Method Summary
 java.lang.String encodeURL(ControllerCommand cmd, URLContext urlContext, URLFormat format)
           
 void execute(CommandContext commandContext)
           
 void execute(ControllerCommand nextCommand)
           
 void forward(ControllerCommand forwardCommand, URLContext urlContext)
           
 CoreController getController()
           
 ServerInvocation getServerInvocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nextDepth

protected int nextDepth
Depth of the next chain.


currentForwardCommandContext

protected CommandContext currentForwardCommandContext
The forward command context if any.


currentForwardURLContext

protected URLContext currentForwardURLContext
.

Constructor Detail

ExecutionContext

public ExecutionContext(CoreController controller,
                        ServerInvocation serverInvocation)
Method Detail

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)