org.jboss.portal.wsrp.consumer
Class SessionHandler
java.lang.Object
org.jboss.portal.wsrp.consumer.SessionHandler
- All Implemented Interfaces:
- PortalEventListener
public class SessionHandler
- extends java.lang.Object
- implements PortalEventListener
Manages session informations on behalf of a consumer.
- Since:
- 2.4 (May 31, 2006)
- Version:
- $Revision: 8784 $
- Author:
- Chris Laprun
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
consumer
protected WSRPConsumerImpl consumer
SessionHandler
public SessionHandler(WSRPConsumerImpl consumer)
- Constructs a new SessionHandler.
- Parameters:
consumer
- the consumer this SessionHandler is associated with.
isPerUserCookieInit
public boolean isPerUserCookieInit()
requiresInitCookie
public boolean requiresInitCookie()
setRequiresInitCookie
public void setRequiresInitCookie(CookieProtocol requiresInitCookie)
resetCurrentlyHeldInformation
public void resetCurrentlyHeldInformation()
- Resets the information held by RequestHeaderClientHandler for the current interaction.
initCookieIfNeeded
public void initCookieIfNeeded(PortletInvocation invocation)
throws PortletInvokerException
- Throws:
PortletInvokerException
onEvent
public void onEvent(PortalEventContext eventContext,
PortalEvent event)
- Specified by:
onEvent
in interface PortalEventListener
updateSessionInfoFor
public void updateSessionInfoFor(java.lang.String originalHandle,
java.lang.String newHandle,
PortletInvocation invocation)
- Parameters:
originalHandle
- newHandle
- invocation
- - Since:
- 2.6