Class StartupListener

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

    public class StartupListener
    extends ContextLoaderListener
    StartupListener class used to initialize the spring context and make it available to the servlet context, so filters that need the spring context can be configured. It also fills in parameters used by the application:
    • Theme (for styling pages)
    • The version number of the application
    • Ontologies that need to be preloaded.
    • Google analytics tracking
    Author:
    keshav, pavlidis, Matt Raible (original version)