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 Details

    • MCRHttpSessionListener

      public MCRHttpSessionListener()
  • Method Details

    • sessionCreated

      public void sessionCreated(jakarta.servlet.http.HttpSessionEvent hse)
      Specified by:
      sessionCreated in interface jakarta.servlet.http.HttpSessionListener
    • sessionDestroyed

      public void sessionDestroyed(jakarta.servlet.http.HttpSessionEvent hse)
      Specified by:
      sessionDestroyed in interface jakarta.servlet.http.HttpSessionListener