org.apache.jetspeed.container.session
Class PortalSessionsManagerImpl

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

public class PortalSessionsManagerImpl
extends Object
implements org.apache.jetspeed.container.session.PortalSessionsManager

PortalSessionsManagerImpl

Version:
$Id: $
Author:
Ate Douma

Nested Class Summary
private static class PortalSessionsManagerImpl.PortalSessionRegistry
           
 
Field Summary
private  boolean forceInvalidate
           
private static org.apache.commons.logging.Log log
           
private  long portalSessionKeySequence
           
private  Map portalSessionsRegistry
           
 
Fields inherited from interface org.apache.jetspeed.container.session.PortalSessionsManager
SERVICE_NAME
 
Constructor Summary
PortalSessionsManagerImpl()
           
PortalSessionsManagerImpl(boolean forceInvalidate)
           
 
Method Summary
 void checkMonitorSession(String contextPath, javax.servlet.http.HttpSession portalSession, javax.servlet.http.HttpSession paSession)
           
 void portalSessionCreated(javax.servlet.http.HttpSession portalSession)
           
 void portalSessionDestroyed(org.apache.jetspeed.container.session.PortalSessionMonitor psm)
           
 void portalSessionDidActivate(org.apache.jetspeed.container.session.PortalSessionMonitor restoredPsm)
           
 void portalSessionWillPassivate(org.apache.jetspeed.container.session.PortalSessionMonitor psm)
           
 int sessionCount()
           
 void sessionDestroyed(org.apache.jetspeed.container.session.PortletApplicationSessionMonitor pasm)
           
 void sessionDidActivate(org.apache.jetspeed.container.session.PortletApplicationSessionMonitor restoredPasm)
           
 void sessionWillPassivate(org.apache.jetspeed.container.session.PortletApplicationSessionMonitor pasm)
           
private  Collection valuesShallowCopy(Collection inValues)
          Returns a shallow copy of the given Collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.jetspeed.container.session.PortalSessionsManager
 

Field Detail

log

private static org.apache.commons.logging.Log log

portalSessionKeySequence

private long portalSessionKeySequence

portalSessionsRegistry

private Map portalSessionsRegistry

forceInvalidate

private boolean forceInvalidate
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 org.apache.jetspeed.container.session.PortalSessionsManager

portalSessionWillPassivate

public void portalSessionWillPassivate(org.apache.jetspeed.container.session.PortalSessionMonitor psm)
Specified by:
portalSessionWillPassivate in interface org.apache.jetspeed.container.session.PortalSessionsManager

portalSessionDidActivate

public void portalSessionDidActivate(org.apache.jetspeed.container.session.PortalSessionMonitor restoredPsm)
Specified by:
portalSessionDidActivate in interface org.apache.jetspeed.container.session.PortalSessionsManager

portalSessionDestroyed

public void portalSessionDestroyed(org.apache.jetspeed.container.session.PortalSessionMonitor psm)
Specified by:
portalSessionDestroyed in interface org.apache.jetspeed.container.session.PortalSessionsManager

checkMonitorSession

public void checkMonitorSession(String contextPath,
                                javax.servlet.http.HttpSession portalSession,
                                javax.servlet.http.HttpSession paSession)
Specified by:
checkMonitorSession in interface org.apache.jetspeed.container.session.PortalSessionsManager

sessionWillPassivate

public void sessionWillPassivate(org.apache.jetspeed.container.session.PortletApplicationSessionMonitor pasm)
Specified by:
sessionWillPassivate in interface org.apache.jetspeed.container.session.PortalSessionsManager

sessionDidActivate

public void sessionDidActivate(org.apache.jetspeed.container.session.PortletApplicationSessionMonitor restoredPasm)
Specified by:
sessionDidActivate in interface org.apache.jetspeed.container.session.PortalSessionsManager

sessionDestroyed

public void sessionDestroyed(org.apache.jetspeed.container.session.PortletApplicationSessionMonitor pasm)
Specified by:
sessionDestroyed in interface org.apache.jetspeed.container.session.PortalSessionsManager

sessionCount

public int sessionCount()
Specified by:
sessionCount in interface org.apache.jetspeed.container.session.PortalSessionsManager

valuesShallowCopy

private Collection valuesShallowCopy(Collection inValues)
Returns a shallow copy of the given Collection.

Parameters:
inValues -
Returns:
shallow copy


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