X-Git-Url: http://wamblee.org/gitweb/?a=blobdiff_plain;f=crawler%2Fkissweb%2Fsrc%2Forg%2Fwamblee%2Fcrawler%2Fkiss%2Fservlet%2FApplication.java;h=d8be2bf7779e395f7b0a256ad8ba5e2200955223;hb=fcb3fcbfe75c778711c2f91b66d0a905562379f9;hp=a4e78f74e2529f822b5851585185bbf326b62dbf;hpb=0f260898c5c90ea3e621de6f7b6f1b5a64457809;p=utils diff --git a/crawler/kissweb/src/org/wamblee/crawler/kiss/servlet/Application.java b/crawler/kissweb/src/org/wamblee/crawler/kiss/servlet/Application.java index a4e78f74..d8be2bf7 100644 --- a/crawler/kissweb/src/org/wamblee/crawler/kiss/servlet/Application.java +++ b/crawler/kissweb/src/org/wamblee/crawler/kiss/servlet/Application.java @@ -37,7 +37,11 @@ import org.wamblee.general.BeanKernel; * The mechanism for kick starting the scheduling of the KiSS crawler. */ public class Application implements ServletContextListener { - + + /** + * Constructs the listener. + * + */ public Application() { // Empty. } @@ -72,6 +76,10 @@ public class Application implements ServletContextListener { aEvent.getServletContext().log("KiSS Crawler shut down complete"); } + /** + * Gets the scheduler from Spring. + * @return Scheduler. + */ private QuartzCrawlerScheduler getScheduler() { return BeanKernel.getBeanFactory().find(QuartzCrawlerScheduler.class); }