* The mechanism for kick starting the scheduling of the KiSS crawler.
*/
public class Application implements ServletContextListener {
-
+
+ /**
+ * Constructs the listener.
+ *
+ */
public Application() {
// Empty.
}
aEvent.getServletContext().log("KiSS Crawler shut down complete");
}
+ /**
+ * Gets the scheduler from Spring.
+ * @return Scheduler.
+ */
private QuartzCrawlerScheduler getScheduler() {
return BeanKernel.getBeanFactory().find(QuartzCrawlerScheduler.class);
}