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, contextInitialized
public void sessionCreated(javax.servlet.http.HttpSessionEvent se)
sessionCreated
in interface javax.servlet.http.HttpSessionListener
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent se)
sessionDestroyed
in interface javax.servlet.http.HttpSessionListener
public int getSessionCreates()
public int getSessionDestroys()