org.apache.jetspeed.container.session
Class PortletApplicationSessionMonitorImpl

java.lang.Object
  extended by org.apache.jetspeed.container.session.PortletApplicationSessionMonitorImpl
All Implemented Interfaces:
java.io.Serializable, java.util.EventListener, javax.servlet.http.HttpSessionActivationListener, javax.servlet.http.HttpSessionBindingListener, PortletApplicationSessionMonitor

public class PortletApplicationSessionMonitorImpl
extends java.lang.Object
implements PortletApplicationSessionMonitor

PortletApplicationSessionMonitorImpl

Version:
$Id: $
Author:
Ate Douma
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.apache.jetspeed.container.session.PortletApplicationSessionMonitor
SESSION_KEY
 
Constructor Summary
PortletApplicationSessionMonitorImpl(java.lang.String contextPath, java.lang.String portalSessionId, long portalSessionKey)
           
PortletApplicationSessionMonitorImpl(java.lang.String contextPath, java.lang.String portalSessionId, long portalSessionKey, boolean forceInvalidate)
           
 
Method Summary
 java.lang.String getContextPath()
           
 java.lang.String getPortalSessionId()
           
 long getPortalSessionKey()
           
 javax.servlet.http.HttpSession getSession()
           
 void invalidateSession()
           
 void sessionDidActivate(javax.servlet.http.HttpSessionEvent event)
           
 void sessionWillPassivate(javax.servlet.http.HttpSessionEvent event)
           
 void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
           
 void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletApplicationSessionMonitorImpl

public PortletApplicationSessionMonitorImpl(java.lang.String contextPath,
                                            java.lang.String portalSessionId,
                                            long portalSessionKey)

PortletApplicationSessionMonitorImpl

public PortletApplicationSessionMonitorImpl(java.lang.String contextPath,
                                            java.lang.String portalSessionId,
                                            long portalSessionKey,
                                            boolean forceInvalidate)
Method Detail

getPortalSessionKey

public long getPortalSessionKey()
Specified by:
getPortalSessionKey in interface PortletApplicationSessionMonitor

getPortalSessionId

public java.lang.String getPortalSessionId()
Specified by:
getPortalSessionId in interface PortletApplicationSessionMonitor

getSession

public javax.servlet.http.HttpSession getSession()
Specified by:
getSession in interface PortletApplicationSessionMonitor

getContextPath

public java.lang.String getContextPath()
Specified by:
getContextPath in interface PortletApplicationSessionMonitor

invalidateSession

public void invalidateSession()
Specified by:
invalidateSession in interface PortletApplicationSessionMonitor

valueBound

public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
Specified by:
valueBound in interface javax.servlet.http.HttpSessionBindingListener

valueUnbound

public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
Specified by:
valueUnbound in interface javax.servlet.http.HttpSessionBindingListener

sessionDidActivate

public void sessionDidActivate(javax.servlet.http.HttpSessionEvent event)
Specified by:
sessionDidActivate in interface javax.servlet.http.HttpSessionActivationListener

sessionWillPassivate

public void sessionWillPassivate(javax.servlet.http.HttpSessionEvent event)
Specified by:
sessionWillPassivate in interface javax.servlet.http.HttpSessionActivationListener


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