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

SessionHandler - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.wsrp.consumer
Class SessionHandler

java.lang.Object
  extended byorg.jboss.portal.wsrp.consumer.SessionHandler

public class SessionHandler
extends java.lang.Object

Manages session informations on behalf of a consumer.

Since:
2.4 (May 31, 2006)

Field Summary
protected  WSRPConsumerImpl consumer
           
protected  org.jboss.logging.Logger log
           
 
Constructor Summary
SessionHandler(WSRPConsumerImpl consumer)
          Constructs a new SessionHandler.
 
Method Summary
 void initCookieIfNeeded(PortletInvocation invocation)
           
 void initPortletGroupIdIfNeeded(PortletInvocation invocation)
           
 boolean isPerUserCookieInit()
           
 boolean requiresInitCookie()
           
 void resetPortletGroupIdIfNeeded()
           
 void setRequiresInitCookie(CookieProtocol requiresInitCookie)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

consumer

protected WSRPConsumerImpl consumer

log

protected org.jboss.logging.Logger log
Constructor Detail

SessionHandler

public SessionHandler(WSRPConsumerImpl consumer)
Constructs a new SessionHandler.

Parameters:
consumer - the consumer this SessionHandler is associated with.
Method Detail

isPerUserCookieInit

public boolean isPerUserCookieInit()

requiresInitCookie

public boolean requiresInitCookie()

setRequiresInitCookie

public void setRequiresInitCookie(CookieProtocol requiresInitCookie)

initPortletGroupIdIfNeeded

public void initPortletGroupIdIfNeeded(PortletInvocation invocation)

resetPortletGroupIdIfNeeded

public void resetPortletGroupIdIfNeeded()

initCookieIfNeeded

public void initCookieIfNeeded(PortletInvocation invocation)
                        throws ServiceDescriptionUnavailableException
Throws:
ServiceDescriptionUnavailableException