public class SessionCountingListener extends ListenerStoredInSessionContext implements javax.servlet.http.HttpSessionListener
| Constructor and Description |
|---|
SessionCountingListener() |
| Modifier and Type | Method and Description |
|---|---|
int |
getSessionCreates() |
int |
getSessionDestroys() |
void |
sessionCreated(javax.servlet.http.HttpSessionEvent se) |
void |
sessionDestroyed(javax.servlet.http.HttpSessionEvent se) |
contextDestroyed, contextInitializedpublic void sessionCreated(javax.servlet.http.HttpSessionEvent se)
sessionCreated in interface javax.servlet.http.HttpSessionListenerpublic void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
sessionDestroyed in interface javax.servlet.http.HttpSessionListenerpublic int getSessionCreates()
public int getSessionDestroys()