Class SessionCountListener
- java.lang.Object
-
- org.apache.wicket.metrics.aspects.session.SessionCountListener
-
- All Implemented Interfaces:
EventListener
,javax.servlet.http.HttpSessionListener
@WebListener public class SessionCountListener extends Object implements javax.servlet.http.HttpSessionListener
Listener that counts the current active sessions- Author:
- Tobias Soloschenko
-
-
Constructor Summary
Constructors Constructor Description SessionCountListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dec(javax.servlet.http.HttpSessionEvent event)
Used to wire an aspect aroundvoid
inc(javax.servlet.http.HttpSessionEvent event)
Used to wire an aspect aroundvoid
sessionCreated(javax.servlet.http.HttpSessionEvent event)
void
sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
-
-
-
Constructor Detail
-
SessionCountListener
public SessionCountListener()
-
-
Method Detail
-
sessionDestroyed
public void sessionDestroyed(javax.servlet.http.HttpSessionEvent event)
- Specified by:
sessionDestroyed
in interfacejavax.servlet.http.HttpSessionListener
-
sessionCreated
public void sessionCreated(javax.servlet.http.HttpSessionEvent event)
- Specified by:
sessionCreated
in interfacejavax.servlet.http.HttpSessionListener
-
dec
public void dec(javax.servlet.http.HttpSessionEvent event)
Used to wire an aspect around- Parameters:
event
- the http session event
-
inc
public void inc(javax.servlet.http.HttpSessionEvent event)
Used to wire an aspect around- Parameters:
event
- the http session event
-
-