org.apache.jetspeed.container.session
Class PortalSessionMonitorImpl

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

public class PortalSessionMonitorImpl
extends Object
implements org.apache.jetspeed.container.session.PortalSessionMonitor

PortalSessionMonitorImpl

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

Field Summary
private  boolean forceInvalidate
           
private static long serialVersionUID
           
private  javax.servlet.http.HttpSession session
           
private  String sessionId
           
private  long sessionKey
           
 
Fields inherited from interface org.apache.jetspeed.container.session.PortalSessionMonitor
SESSION_KEY
 
Constructor Summary
PortalSessionMonitorImpl(long sessionKey)
           
PortalSessionMonitorImpl(long sessionKey, boolean forceInvalidate)
           
 
Method Summary
private  org.apache.jetspeed.container.session.PortalSessionsManager getManager()
           
 javax.servlet.http.HttpSession getSession()
           
 String getSessionId()
           
 long getSessionKey()
           
 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.PortalSessionMonitor
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

sessionKey

private long sessionKey

sessionId

private transient String sessionId

session

private transient javax.servlet.http.HttpSession session

forceInvalidate

private boolean forceInvalidate
Constructor Detail

PortalSessionMonitorImpl

public PortalSessionMonitorImpl(long sessionKey)

PortalSessionMonitorImpl

public PortalSessionMonitorImpl(long sessionKey,
                                boolean forceInvalidate)
Method Detail

getSessionId

public String getSessionId()
Specified by:
getSessionId in interface org.apache.jetspeed.container.session.PortalSessionMonitor

getSessionKey

public long getSessionKey()
Specified by:
getSessionKey in interface org.apache.jetspeed.container.session.PortalSessionMonitor

getSession

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

invalidateSession

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

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.