Package javax.servlet

Interface ServletContextListener

    • Method Detail

      • contextInitialized

        void contextInitialized​(ServletContextEvent sce)
        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.
        Parameters:
        sce - Information about the ServletContext that was initialized
      • contextDestroyed

        void contextDestroyed​(ServletContextEvent sce)
        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.
        Parameters:
        sce - Information about the ServletContext that was destroyed