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

ServerInvocation - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.server
Class ServerInvocation

java.lang.Object
  extended byorg.jboss.portal.common.invocation.Invocation
      extended byorg.jboss.portal.server.ServerInvocation

public class ServerInvocation
extends Invocation

Version:
$Revision: 5448 $
Author:
Julien Viet

Field Summary
private  ServerInvocationContext ctx
          The invocation context.
static Scope NAVIGATIONAL_STATE_SCOPE
          .
static Scope PRINCIPAL_SCOPE
          .
private  ServerRequest req
          The request.
static Scope REQUEST_SCOPE
          .
private  ServerResponse resp
          The response.
static Scope SESSION_SCOPE
          .
 
Fields inherited from class org.jboss.portal.common.invocation.Invocation
EMPTY_STACK
 
Constructor Summary
ServerInvocation(ServerInvocationContext ctx)
           
 
Method Summary
 InvocationContext getContext()
          Return the invocation context or throw IllegalStateException.
 ServerRequest getRequest()
           
 ServerResponse getResponse()
           
 ServerInvocationContext getServerContext()
           
 void setRequest(ServerRequest req)
           
 void setResponse(ServerResponse resp)
           
 
Methods inherited from class org.jboss.portal.common.invocation.Invocation
getAttribute, getHandler, invoke, invokeNext, removeAttribute, setAttribute, setHandler
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRINCIPAL_SCOPE

public static final Scope PRINCIPAL_SCOPE
.


SESSION_SCOPE

public static final Scope SESSION_SCOPE
.


REQUEST_SCOPE

public static final Scope REQUEST_SCOPE
.


NAVIGATIONAL_STATE_SCOPE

public static final Scope NAVIGATIONAL_STATE_SCOPE
.


req

private ServerRequest req
The request.


resp

private ServerResponse resp
The response.


ctx

private ServerInvocationContext ctx
The invocation context.

Constructor Detail

ServerInvocation

public ServerInvocation(ServerInvocationContext ctx)
Method Detail

getServerContext

public ServerInvocationContext getServerContext()

getContext

public InvocationContext getContext()
Description copied from class: Invocation
Return the invocation context or throw IllegalStateException.

Specified by:
getContext in class Invocation
Returns:
the invocation context

getRequest

public ServerRequest getRequest()

setRequest

public void setRequest(ServerRequest req)

getResponse

public ServerResponse getResponse()

setResponse

public void setResponse(ServerResponse resp)