Class StartupListener

java.lang.Object
org.kissweb.restServer.StartupListener
All Implemented Interfaces:
EventListener, javax.servlet.ServletContextListener

public class StartupListener extends Object implements javax.servlet.ServletContextListener
Author: Blake McBride Date: 4/17/20
  • Constructor Details

    • StartupListener

      public StartupListener()
  • Method Details

    • contextInitialized

      public void contextInitialized(javax.servlet.ServletContextEvent sce)
      This is the first method that gets called. It is where the whole process starts.
      Specified by:
      contextInitialized in interface javax.servlet.ServletContextListener
    • contextDestroyed

      public void contextDestroyed(javax.servlet.ServletContextEvent sce)
      This method gets called when the server is shut down. It is the last method to be run.
      Specified by:
      contextDestroyed in interface javax.servlet.ServletContextListener