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

ControllerContext - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.core.controller
Class ControllerContext

java.lang.Object
  extended byorg.jboss.portal.common.invocation.AbstractInvocationContext
      extended byorg.jboss.portal.core.controller.ControllerContext
All Implemented Interfaces:
InvocationContext

public class ControllerContext
extends AbstractInvocationContext

Version:
$Revision: 5448 $
Author:
Julien Viet

Nested Class Summary
 
Nested classes inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext
 
Field Summary
private  CoreController controller
          The controller.
private  ServerInvocation serverInvocation
          The server invocation.
 
Fields inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext
 
Constructor Summary
ControllerContext(ServerInvocation serverInvocation, CoreController controller)
           
 
Method Summary
 java.lang.String encodeURL(ControllerCommand cmd, URLContext urlContext, URLFormat format)
           
 java.lang.Object execute(ControllerCommand command)
           
 CoreController getController()
           
 ServerInvocation getServerInvocation()
           
 
Methods inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext
addResolver, addResolver, getAttribute, getAttributeResolver, removeAttribute, setAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serverInvocation

private ServerInvocation serverInvocation
The server invocation.


controller

private CoreController controller
The controller.

Constructor Detail

ControllerContext

public ControllerContext(ServerInvocation serverInvocation,
                         CoreController controller)
Method Detail

execute

public java.lang.Object execute(ControllerCommand command)
                         throws ControllerException,
                                InvocationException
Throws:
ControllerException
InvocationException

encodeURL

public java.lang.String encodeURL(ControllerCommand cmd,
                                  URLContext urlContext,
                                  URLFormat format)

getServerInvocation

public ServerInvocation getServerInvocation()

getController

public CoreController getController()