Package nl.b3p.commons.security
Class SessionCounter
- java.lang.Object
-
- nl.b3p.commons.security.SessionCounter
-
- All Implemented Interfaces:
EventListener
,javax.servlet.http.HttpSessionListener
public class SessionCounter extends Object implements javax.servlet.http.HttpSessionListener
- Author:
- Chris
-
-
Constructor Summary
Constructors Constructor Description SessionCounter()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static int
getActiveSessions()
void
sessionCreated(javax.servlet.http.HttpSessionEvent se)
void
sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
-
-
-
Method Detail
-
sessionCreated
public void sessionCreated(javax.servlet.http.HttpSessionEvent se)
- Specified by:
sessionCreated
in interfacejavax.servlet.http.HttpSessionListener
-
sessionDestroyed
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
- Specified by:
sessionDestroyed
in interfacejavax.servlet.http.HttpSessionListener
-
getActiveSessions
public static int getActiveSessions()
-
-