(no commit message)
[utils] / crawler / kiss / src / org.wamblee.crawler.notification.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
3
4 <beans>
5     
6   <!-- Mail server configuration --> 
7   <bean id="org.wamblee.crawler.kiss.notification.MailServer"
8       class="org.wamblee.crawler.kiss.notification.MailServer">
9       <constructor-arg><value>${org.wamblee.crawler.smtp.host}</value></constructor-arg>
10       <constructor-arg><value type="int">${org.wamblee.crawler.smtp.port}</value></constructor-arg>
11       <constructor-arg><value>${org.wamblee.crawler.smtp.username}</value></constructor-arg> 
12       <constructor-arg><value>${org.wamblee.crawler.smtp.password}</value></constructor-arg>  
13   </bean>
14   
15   <bean id="org.wamblee.xml.ClasspathUriResolver"
16       class="org.wamblee.xml.ClasspathUriResolver">
17   </bean>
18   
19   <bean id="org.wamblee.xml.XslTransformer"
20       class="org.wamblee.xml.XslTransformer">
21       <constructor-arg><ref local="org.wamblee.xml.ClasspathUriResolver"/></constructor-arg>
22   </bean>
23   
24   <bean id="org.wamblee.crawler.kiss.notification.Notifier"
25       class="org.wamblee.crawler.kiss.notification.MailNotifier">
26       <constructor-arg><value>${org.wamblee.crawler.notification.from}</value></constructor-arg>
27       <constructor-arg><value>${org.wamblee.crawler.notification.to}</value></constructor-arg>
28       <constructor-arg><value>${org.wamblee.crawler.notification.subject}</value></constructor-arg>
29       <constructor-arg><value>reportToHtml.xsl</value></constructor-arg>
30       <constructor-arg><value>reportToText.xsl</value></constructor-arg>
31       <constructor-arg><ref local="org.wamblee.crawler.kiss.notification.MailServer"/></constructor-arg>
32       <constructor-arg><ref local="org.wamblee.xml.XslTransformer"/></constructor-arg>
33   </bean>
34 </beans>