Class ContextListener

  • All Implemented Interfaces:
    EventListener, javax.servlet.ServletContextListener

    public class ContextListener
    extends WebtoolkitServletContextListener
    Simple demonstration context with javax.servlet-subsystem. This example demonstrates the use of the javax.servlet APIs to bootstrap the enterprise-demo application.
    • Constructor Detail

      • ContextListener

        public ContextListener()
    • Method Detail

      • contextInitialized

        protected void contextInitialized​(javax.servlet.ServletContextEvent sce,
                                          WebtoolkitServerContext webtoolkitContext)
        Description copied from class: WebtoolkitServletContextListener
        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 class WebtoolkitServletContextListener
        sce - the ServletContextEvent from the web server
        webtoolkitContext - the context to setup the jadice web toolkit
        See Also:
      • contextDestroyed

        public void contextDestroyed​(javax.servlet.ServletContextEvent arg0)
        Specified by:
        contextDestroyed in interface javax.servlet.ServletContextListener
        contextDestroyed in class WebtoolkitServletContextListener