org.apache.jetspeed.container.session
Class PortletApplicationSessionMonitorImpl

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

public class PortletApplicationSessionMonitorImpl
extends Object
implements org.apache.jetspeed.container.session.PortletApplicationSessionMonitor

PortletApplicationSessionMonitorImpl

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

Field Summary
private  String contextPath
           
private  boolean forceInvalidate
           
private  String portalSessionId
           
private  long portalSessionKey
           
private static long serialVersionUID
           
private  javax.servlet.http.HttpSession session
           
 
Fields inherited from interface org.apache.jetspeed.container.session.PortletApplicationSessionMonitor
SESSION_KEY
 
Constructor Summary
PortletApplicationSessionMonitorImpl(String contextPath, String portalSessionId, long portalSessionKey)
           
PortletApplicationSessionMonitorImpl(String contextPath, String portalSessionId, long portalSessionKey, boolean forceInvalidate)
           
 
Method Summary
 String getContextPath()
           
private  org.apache.jetspeed.container.session.PortalSessionsManager getManager()
           
 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
 
Methods inherited from interface org.apache.jetspeed.container.session.PortletApplicationSessionMonitor
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

contextPath

private String contextPath

portalSessionId

private String portalSessionId

portalSessionKey

private long portalSessionKey

session

private transient javax.servlet.http.HttpSession session

forceInvalidate

private boolean forceInvalidate
Constructor Detail

PortletApplicationSessionMonitorImpl

public PortletApplicationSessionMonitorImpl(String contextPath,
                                            String portalSessionId,
                                            long portalSessionKey)

PortletApplicationSessionMonitorImpl

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

getPortalSessionKey

public long getPortalSessionKey()
Specified by:
getPortalSessionKey in interface org.apache.jetspeed.container.session.PortletApplicationSessionMonitor

getPortalSessionId

public String getPortalSessionId()
Specified by:
getPortalSessionId in interface org.apache.jetspeed.container.session.PortletApplicationSessionMonitor

getSession

public javax.servlet.http.HttpSession getSession()
Specified by:
getSession in interface org.apache.jetspeed.container.session.PortletApplicationSessionMonitor

getContextPath

public String getContextPath()
Specified by:
getContextPath in interface org.apache.jetspeed.container.session.PortletApplicationSessionMonitor

invalidateSession

public void invalidateSession()
Specified by:
invalidateSession in interface org.apache.jetspeed.container.session.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

getManager

private org.apache.jetspeed.container.session.PortalSessionsManager getManager()


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