org.infoglue.cms.util
Class CmsSessionContextListener
java.lang.Object
org.infoglue.cms.util.CmsSessionContextListener
- All Implemented Interfaces:
- java.util.EventListener, javax.servlet.http.HttpSessionListener
public class CmsSessionContextListener
- extends java.lang.Object
- implements javax.servlet.http.HttpSessionListener
This class keeps track of all sessions created / removed so we can see
how many users a site / cms has right now.
- Author:
- mattias
|
Field Summary |
static java.util.Map |
sessions
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sessions
public static final java.util.Map sessions
CmsSessionContextListener
public CmsSessionContextListener()
sessionCreated
public void sessionCreated(javax.servlet.http.HttpSessionEvent se)
- Specified by:
sessionCreated in interface javax.servlet.http.HttpSessionListener
sessionDestroyed
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
- Specified by:
sessionDestroyed in interface javax.servlet.http.HttpSessionListener
getActiveSessions
public static int getActiveSessions()
getSessionInfoBeanList
public static java.util.List getSessionInfoBeanList()
Copyright © 2005 InfoGlue.org All Rights Reserved.