Class WebtoolkitServletContextListener

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

@Deprecated public abstract class WebtoolkitServletContextListener extends Object implements javax.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(javax.servlet.ServletContextEvent sce)
      Deprecated.
      Specified by:
      contextInitialized in interface javax.servlet.ServletContextListener
    • contextDestroyed

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

      @Deprecated protected abstract void contextInitialized(javax.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