Class LogbackServletContextListener

java.lang.Object
ch.qos.logback.classic.servlet.LogbackServletContextListener
All Implemented Interfaces:
EventListener, ServletContextListener

@Deprecated(since="2022-01-27") public class LogbackServletContextListener extends Object implements ServletContextListener
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
Allows for graceful shutdown of the LoggerContext associated with this web-app.
Since:
1.1.10
  • Constructor Details

    • LogbackServletContextListener

      public LogbackServletContextListener()
      Deprecated.
  • Method Details

    • contextInitialized

      public void contextInitialized(ServletContextEvent sce)
      Deprecated.
      Description copied from interface: ServletContextListener
      Notification that the web application initialization process is starting. All ServletContextListeners are notified of context initialization before any filter or servlet in the web application is initialized.
      Specified by:
      contextInitialized in interface ServletContextListener
      Parameters:
      sce - Information about the ServletContext that was initialized
    • contextDestroyed

      public void contextDestroyed(ServletContextEvent sce)
      Deprecated.
      Description copied from interface: ServletContextListener
      Notification that the servlet context is about to be shut down. All servlets and filters have been destroy()ed before any ServletContextListeners are notified of context destruction.
      Specified by:
      contextDestroyed in interface ServletContextListener
      Parameters:
      sce - Information about the ServletContext that was destroyed