Class WebtoolkitServletContextListener

java.lang.Object
com.levigo.jadice.web.server.WebtoolkitServletContextListener
All Implemented Interfaces:
jakarta.servlet.ServletContextListener, EventListener

@Deprecated public abstract class WebtoolkitServletContextListener extends Object implements jakarta.servlet.ServletContextListener
Deprecated.
A ServletContextListener to set up the WebtoolkitServerContext. Create your own ServletContextListener by extending this class. Then add your class as ServletContextListener to your web application (either by annotating it with WebListener or by adding a <listener>-element to your web.xml).
  • Constructor Details

    • WebtoolkitServletContextListener

      public WebtoolkitServletContextListener()
      Deprecated.
  • Method Details

    • contextInitialized

      public final void contextInitialized(jakarta.servlet.ServletContextEvent sce)
      Deprecated.
      Specified by:
      contextInitialized in interface jakarta.servlet.ServletContextListener
    • contextDestroyed

      public void contextDestroyed(jakarta.servlet.ServletContextEvent sce)
      Deprecated.
      Specified by:
      contextDestroyed in interface jakarta.servlet.ServletContextListener
    • contextInitialized

      @Deprecated protected abstract void contextInitialized(jakarta.servlet.ServletContextEvent sce, WebtoolkitServerContext webtoolkitContext)
      Deprecated.
      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 - the ServletContextEvent from the web server
      webtoolkitContext - the context to setup the jadice web toolkit
      See Also:
      • ServletContextListener