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 a HttpSession
, collecting data for the
PresentationMonitorUtil.EVENT_HTTP_SESSION
event.
- Since:
- 4.1.0
- See Also:
- Serialized Form
Method Summary |
static void |
monitorSession(SessionConfig sessionConfig,
javax.servlet.http.HttpSession session)
Starts monitoring the given http session. |
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 |
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
monitorSession
public static void monitorSession(SessionConfig sessionConfig,
javax.servlet.http.HttpSession session)
throws PortalException
- Starts monitoring the given http session. This method expects that the
current monitor context is properly set.
- Parameters:
session
- the http session.
- Throws:
PortalException
- Since:
- 4.1.0
Lumisportal 6.1.0.111014 - Copyright © 2001-2007, Lumis. All Rights Reserved.