Project

General

Profile

1
<?xml version="1.0" encoding="UTF-8"?>
2
<beans xmlns="http://www.springframework.org/schema/beans"
3
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4
	xmlns:context="http://www.springframework.org/schema/context"
5
	xmlns:cxf="http://cxf.apache.org/core"
6
	xmlns:jaxws="http://cxf.apache.org/jaxws"
7
	xmlns:p="http://http://www.springframework.org/schema/p"
8
	xmlns:template="http://dnetlib.eu/springbeans/template"
9
	xmlns:t="http://dnetlib.eu/springbeans/t"
10
	xmlns:tx="http://www.springframework.org/schema/tx"
11
	
12
	xsi:schemaLocation="
13
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
14
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
15
        http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
16
        http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
17
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd
18
        http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd"
19
	default-autowire="no">
20
			
21
	<bean id="emailer" class="eu.dnetlib.validator.commons.email.Emailer">
22
		<property name="override" value="${services.validator.mail.override}" />
23
		<property name="overrideEmail" value="${services.validator.mail.overrideEmail}" />
24
		<property name="logonly" value="${services.validator.mail.logonly}" />
25
		<property name="specialRecipients" value="${services.validator.mail.specialRecipients}" />
26
		<property name="from" value="${services.validator.mail.fromAddress}" />
27
		<property name="mailer" ref="maillib" />
28
	</bean>
29
	
30
	<bean id="maillib" class="eu.dnetlib.utils.MailLibrary" init-method="init">
31
		<property name="mailhost" value="${services.validator.mail.host}" />
32
		<property name="smtpPort" value="${services.validator.mail.port}" />
33
		<property name="authenticate" value="${services.validator.mail.authenticate}" />
34
		<property name="username" value="${services.validator.mail.username}" />
35
		<property name="password" value="${services.validator.mail.password}" />
36
		<property name="from" value="${services.validator.mail.fromAddress}" />
37
		<property name="replyTo" value="${services.validator.mail.replyToAddress}" />
38
		<property name="mode" value="${services.validator.mail.mode}" />
39
		<property name="debug" value="${services.validator.mail.debug}" />
40
	</bean>
41

    
42
</beans>
(2-2/2)