1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
6 <!-- The object that tells quartz how to schedule the crawler -->
7 <bean id="org.wamblee.crawler.kiss.scheduling.CrawlerScheduler"
8 class="org.wamblee.crawler.kiss.scheduling.quartz.QuartzCrawlerScheduler">
9 <constructor-arg><value type="int">3600</value></constructor-arg>
12 <!-- The object which executes the crawler -->
13 <bean id="org.wamblee.crawler.kiss.scheduling.CrawlerExecutor"
14 class="org.wamblee.crawler.kiss.scheduling.CrawlerExecutorImpl">
15 <constructor-arg><value>${org.wamblee.crawler.config.epg}</value></constructor-arg>
16 <constructor-arg><value>${org.wamblee.crawler.config.programs}</value></constructor-arg>
17 <constructor-arg><ref bean="org.wamblee.crawler.kiss.notification.Notifier"/></constructor-arg>
20 <!-- The object that determines whether to execute the crawler when it is signalled by
22 <bean id="org.wamblee.crawler.kiss.scheduling.CrawlerStatus"
23 class="org.wamblee.crawler.kiss.scheduling.CrawlerStatus">
24 <constructor-arg><ref local="org.wamblee.crawler.kiss.scheduling.CrawlerExecutor"/></constructor-arg>
25 <!-- The interval of the day in hours [hourmin, hourmax] over which crawling will be done and
26 retried if necessary -->
27 <constructor-arg><value type="int">19</value></constructor-arg>
28 <constructor-arg><value type="int">24</value></constructor-arg>