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

ExecutionContext - JBOSS Portal 2.2 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 currentCommandContext
          The current command context.
protected  CommandContext currentForwardCommandContext
          The forward command context if any.
protected  int nextDepth
          Depth of the next chain.
 
Constructor Summary
ExecutionContext(CoreController controller, ServerInvocation serverInvocation)
           
 
Method Summary
 java.lang.String encodeURL(ControllerCommand cmd, URLInfo urlInfo)
           
 void execute(CommandContext commandContext)
           
 void execute(ControllerCommand nextCommand, URLInfo urlInfo)
           
 void forward(ControllerCommand forwardCommand, URLInfo urlInfo)
           
 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.


currentCommandContext

protected CommandContext currentCommandContext
The current command context.


currentForwardCommandContext

protected CommandContext currentForwardCommandContext
The forward command context if any.

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,
                                  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)