Class PlatformStartup

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

    public class PlatformStartup
    extends Object
    implements javax.servlet.ServletContextListener
    This ServletContextListener is used to initialize the appNG platform. This includes loading the configuration from "/conf/appNG.properties", initializing the ApplicationContext from /WEB-INF/conf/platformContext.xml and loading all active Sites with their configured Applications.
    Author:
    Matthias Müller
    • Constructor Detail

      • PlatformStartup

        public PlatformStartup()
    • Method Detail

      • contextInitialized

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

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

        public boolean shutdownCleanUpThread​(String packagePrefix)
      • shutDownExecutor

        public void shutDownExecutor​(ExecutorService executor)