Class WebScopeListener

  • All Implemented Interfaces:
    jakarta.servlet.http.HttpSessionListener, jakarta.servlet.ServletContextListener, EventListener

    public class WebScopeListener
    extends Object
    implements jakarta.servlet.ServletContextListener, jakarta.servlet.http.HttpSessionListener
    A default implementation of a web scope aware ServletContextListener and HttpSessionListener. Manages global web scopes and session web scopes.
    Author:
    Philip Helger
    • Constructor Detail

      • WebScopeListener

        public WebScopeListener()
    • Method Detail

      • contextInitialized

        @OverridingMethodsMustInvokeSuper
        public void contextInitialized​(@Nonnull
                                       jakarta.servlet.ServletContextEvent aEvent)
        Specified by:
        contextInitialized in interface jakarta.servlet.ServletContextListener
      • contextDestroyed

        @OverridingMethodsMustInvokeSuper
        public void contextDestroyed​(@Nonnull
                                     jakarta.servlet.ServletContextEvent aEvent)
        Specified by:
        contextDestroyed in interface jakarta.servlet.ServletContextListener
      • sessionCreated

        @OverridingMethodsMustInvokeSuper
        public void sessionCreated​(@Nonnull
                                   jakarta.servlet.http.HttpSessionEvent aEvent)
        Specified by:
        sessionCreated in interface jakarta.servlet.http.HttpSessionListener
      • sessionDestroyed

        @OverridingMethodsMustInvokeSuper
        public void sessionDestroyed​(@Nonnull
                                     jakarta.servlet.http.HttpSessionEvent aEvent)
        Specified by:
        sessionDestroyed in interface jakarta.servlet.http.HttpSessionListener