org.apache.jetspeed.container.session
Class PortalSessionsManagerImpl

java.lang.Object
  extended by org.apache.jetspeed.container.session.PortalSessionsManagerImpl
All Implemented Interfaces:
PortalSessionsManager

public class PortalSessionsManagerImpl
extends java.lang.Object
implements PortalSessionsManager

PortalSessionsManagerImpl

Version:
$Id: $
Author:
Ate Douma

Field Summary
 
Fields inherited from interface org.apache.jetspeed.container.session.PortalSessionsManager
SERVICE_NAME
 
Constructor Summary
PortalSessionsManagerImpl()
           
PortalSessionsManagerImpl(boolean forceInvalidate)
           
 
Method Summary
 void checkMonitorSession(java.lang.String contextPath, javax.servlet.http.HttpSession portalSession, javax.servlet.http.HttpSession paSession)
           
 void portalSessionCreated(javax.servlet.http.HttpSession portalSession)
           
 void portalSessionDestroyed(PortalSessionMonitor psm)
           
 void portalSessionDidActivate(PortalSessionMonitor restoredPsm)
           
 void portalSessionWillPassivate(PortalSessionMonitor psm)
           
 int sessionCount()
          Returns the number of current sessions.
 void sessionDestroyed(PortletApplicationSessionMonitor pasm)
           
 void sessionDidActivate(PortletApplicationSessionMonitor restoredPasm)
           
 void sessionWillPassivate(PortletApplicationSessionMonitor pasm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalSessionsManagerImpl

public PortalSessionsManagerImpl()

PortalSessionsManagerImpl

public PortalSessionsManagerImpl(boolean forceInvalidate)
Method Detail

portalSessionCreated

public void portalSessionCreated(javax.servlet.http.HttpSession portalSession)
Specified by:
portalSessionCreated in interface PortalSessionsManager

portalSessionWillPassivate

public void portalSessionWillPassivate(PortalSessionMonitor psm)
Specified by:
portalSessionWillPassivate in interface PortalSessionsManager

portalSessionDidActivate

public void portalSessionDidActivate(PortalSessionMonitor restoredPsm)
Specified by:
portalSessionDidActivate in interface PortalSessionsManager

portalSessionDestroyed

public void portalSessionDestroyed(PortalSessionMonitor psm)
Specified by:
portalSessionDestroyed in interface PortalSessionsManager

checkMonitorSession

public void checkMonitorSession(java.lang.String contextPath,
                                javax.servlet.http.HttpSession portalSession,
                                javax.servlet.http.HttpSession paSession)
Specified by:
checkMonitorSession in interface PortalSessionsManager

sessionWillPassivate

public void sessionWillPassivate(PortletApplicationSessionMonitor pasm)
Specified by:
sessionWillPassivate in interface PortalSessionsManager

sessionDidActivate

public void sessionDidActivate(PortletApplicationSessionMonitor restoredPasm)
Specified by:
sessionDidActivate in interface PortalSessionsManager

sessionDestroyed

public void sessionDestroyed(PortletApplicationSessionMonitor pasm)
Specified by:
sessionDestroyed in interface PortalSessionsManager

sessionCount

public int sessionCount()
Description copied from interface: PortalSessionsManager
Returns the number of current sessions. Used to track the number guest users in portal.

Specified by:
sessionCount in interface PortalSessionsManager
Returns:
Number of currently created sessions in the registry


Copyright © 1999-2010 Apache Software Foundation. All Rights Reserved.