Class AppInitListener

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

    public class AppInitListener
    extends java.lang.Object
    implements javax.servlet.ServletContextListener
    The initialization servlet of the application. This servlet is declared load-on-startup in the downloadFile web.xml
    • Constructor Summary

      Constructors 
      Constructor Description
      AppInitListener()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void contextDestroyed​(javax.servlet.ServletContextEvent sce)
      Shutdown the application
      void contextInitialized​(javax.servlet.ServletContextEvent sce)
      Initialize the application
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AppInitListener

        public AppInitListener()
    • Method Detail

      • contextInitialized

        public void contextInitialized​(javax.servlet.ServletContextEvent sce)
        Initialize the application
        Specified by:
        contextInitialized in interface javax.servlet.ServletContextListener
        Parameters:
        sce - context event
      • contextDestroyed

        public void contextDestroyed​(javax.servlet.ServletContextEvent sce)
        Shutdown the application
        Specified by:
        contextDestroyed in interface javax.servlet.ServletContextListener
        Parameters:
        sce - context event