Package org.mycore.common.events
Class MCRHttpSessionListener
java.lang.Object
org.mycore.common.events.MCRHttpSessionListener
- All Implemented Interfaces:
jakarta.servlet.http.HttpSessionListener
,EventListener
public class MCRHttpSessionListener
extends Object
implements jakarta.servlet.http.HttpSessionListener
Handles different HttpSession events.
This class is used to free up MCRSessions when their associated HttpSession
is destroyed or a new MCRSession replaces an old one.
- Author:
- Thomas Scheffler (yagee)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
sessionCreated
(jakarta.servlet.http.HttpSessionEvent hse) void
sessionDestroyed
(jakarta.servlet.http.HttpSessionEvent hse)
-
Constructor Details
-
MCRHttpSessionListener
public MCRHttpSessionListener()
-
-
Method Details
-
sessionCreated
public void sessionCreated(jakarta.servlet.http.HttpSessionEvent hse) - Specified by:
sessionCreated
in interfacejakarta.servlet.http.HttpSessionListener
-
sessionDestroyed
public void sessionDestroyed(jakarta.servlet.http.HttpSessionEvent hse) - Specified by:
sessionDestroyed
in interfacejakarta.servlet.http.HttpSessionListener
-