Package lumis.portal.presentation
Class HttpSessionMonitor
- java.lang.Object
-
- lumis.portal.presentation.HttpSessionMonitor
-
- All Implemented Interfaces:
java.io.Serializable
,java.util.EventListener
,javax.servlet.http.HttpSessionBindingListener
public class HttpSessionMonitor extends java.lang.Object implements javax.servlet.http.HttpSessionBindingListener, java.io.Serializable
Monitors aHttpSession
, collecting data for thePresentationMonitorUtil.EVENT_HTTP_SESSION
event.- Since:
- 4.1.0
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
monitorSession(SessionConfig sessionConfig, PageWebResource webResource, javax.servlet.http.HttpSession session, java.lang.String lastTrackId)
Starts monitoring the given http session.void
valueBound(javax.servlet.http.HttpSessionBindingEvent event)
void
valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
-
-
-
Method Detail
-
valueBound
public void valueBound(javax.servlet.http.HttpSessionBindingEvent event)
- Specified by:
valueBound
in interfacejavax.servlet.http.HttpSessionBindingListener
-
valueUnbound
public void valueUnbound(javax.servlet.http.HttpSessionBindingEvent event)
- Specified by:
valueUnbound
in interfacejavax.servlet.http.HttpSessionBindingListener
-
monitorSession
public static void monitorSession(SessionConfig sessionConfig, PageWebResource webResource, javax.servlet.http.HttpSession session, java.lang.String lastTrackId) throws PortalException
Starts monitoring the given http session. This method expects that the current monitor context is properly set.- Parameters:
session
- the http session.lastTrackId
- the monitor user identifier.- Throws:
PortalException
- Since:
- 11.0.0
-
-