Class SearchIndexerSetup

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

    public class SearchIndexerSetup
    extends Object
    implements javax.servlet.ServletContextListener
    Start the SearchIndexer. Create a listener on the RDFService and link it to the indexer. Create a history object as a listener and make it available to the IndexController. Create a listener that will call commit() on the SearchEngine every time it hears a progress or completion event.
    • Constructor Detail

      • SearchIndexerSetup

        public SearchIndexerSetup()
    • 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