Class ContextListener

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

    @WebListener
    public class ContextListener
    extends WebtoolkitServletContextListener
    Register your own services, DocumentDataProvider etc. here. For more infos please have a look how the other demos work.
    • Constructor Detail

      • ContextListener

        public ContextListener()
    • Method Detail

      • contextDestroyed

        public void contextDestroyed​(javax.servlet.ServletContextEvent sce)
        Specified by:
        contextDestroyed in interface javax.servlet.ServletContextListener
        Overrides:
        contextDestroyed in class WebtoolkitServletContextListener
      • contextInitialized

        public 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
        Parameters:
        sce - the ServletContextEvent from the web server
        webtoolkitContext - the context to setup the jadice web toolkit
        See Also:
        ServletContextListener