Package com.avoka.fc.core.servlet
Class SessionListener
- java.lang.Object
-
- com.avoka.fc.core.servlet.SessionListener
-
- All Implemented Interfaces:
EventListener
,HttpSessionListener
public class SessionListener extends Object implements HttpSessionListener
Provides an HttpSessionListener implementations to log the last access time for the user when the session logs out.
-
-
Constructor Summary
Constructors Constructor Description SessionListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
sessionCreated(HttpSessionEvent se)
Notification that a session was created.void
sessionDestroyed(HttpSessionEvent se)
Log the last access time for the user when the session logs out.
-
-
-
Method Detail
-
sessionCreated
public void sessionCreated(HttpSessionEvent se)
Notification that a session was created.- Specified by:
sessionCreated
in interfaceHttpSessionListener
- Parameters:
se
- the http session event- See Also:
HttpSessionListener.sessionCreated(HttpSessionEvent)
-
sessionDestroyed
public void sessionDestroyed(HttpSessionEvent se)
Log the last access time for the user when the session logs out.- Specified by:
sessionDestroyed
in interfaceHttpSessionListener
- Parameters:
se
- the http session event- See Also:
HttpSessionListener.sessionDestroyed(HttpSessionEvent)
-
-