lumis.portal.presentation
Class HttpSessionMonitor

Package class diagram package HttpSessionMonitor
java.lang.Object
  extended by lumis.portal.presentation.HttpSessionMonitor
All Implemented Interfaces:
Serializable, EventListener, HttpSessionBindingListener

public class HttpSessionMonitor
extends Object
implements HttpSessionBindingListener, 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, HttpSession session)
          Starts monitoring the given http session.
 void valueBound(HttpSessionBindingEvent event)
           
 void valueUnbound(HttpSessionBindingEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

valueBound

public void valueBound(HttpSessionBindingEvent event)
Specified by:
valueBound in interface HttpSessionBindingListener

valueUnbound

public void valueUnbound(HttpSessionBindingEvent event)
Specified by:
valueUnbound in interface HttpSessionBindingListener

monitorSession

public static void monitorSession(SessionConfig sessionConfig,
                                  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  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.