planetj.http
Class SessionCounter

java.lang.Object
  |
  +--planetj.http.SessionCounter
All Implemented Interfaces:
EventListener, javax.servlet.http.HttpSessionListener

public class SessionCounter
extends Object
implements javax.servlet.http.HttpSessionListener

Author:
Administrator

Constructor Summary
SessionCounter()
           
 
Method Summary
static int getActiveSessions()
           
static int getClosedSessions()
           
static int getCreatedSessions()
           
 void sessionCreated(javax.servlet.http.HttpSessionEvent se)
           
 void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionCounter

public SessionCounter()
Method Detail

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()

getCreatedSessions

public static int getCreatedSessions()

getClosedSessions

public static int getClosedSessions()