Class SearchIndexerSetup
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.searchindex.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 Summary
Constructors Constructor Description SearchIndexerSetup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcontextDestroyed(javax.servlet.ServletContextEvent sce)voidcontextInitialized(javax.servlet.ServletContextEvent sce)
-
-
-
Method Detail
-
contextInitialized
public void contextInitialized(javax.servlet.ServletContextEvent sce)
- Specified by:
contextInitializedin interfacejavax.servlet.ServletContextListener
-
contextDestroyed
public void contextDestroyed(javax.servlet.ServletContextEvent sce)
- Specified by:
contextDestroyedin interfacejavax.servlet.ServletContextListener
-
-