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:task="http://www.springframework.org/schema/task"
|
5
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
|
6
|
http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd"
|
7
|
>
|
8
|
<task:annotation-driven executor="myExecutor" scheduler="myScheduler"/>
|
9
|
<task:executor id="myExecutor" pool-size="5"/>
|
10
|
<task:scheduler id="myScheduler" pool-size="10"/>
|
11
|
|
12
|
<bean id="maillib" class="eu.dnetlib.utils.MailLibrary" init-method="init">
|
13
|
<property name="mailhost" value="${services.validator.mail.host}"/>
|
14
|
<property name="smtpPort" value="${services.validator.mail.port}"/>
|
15
|
<property name="authenticate" value="${services.validator.mail.authenticate}"/>
|
16
|
<property name="username" value="${services.validator.mail.username}"/>
|
17
|
<property name="password" value="${services.validator.mail.password}"/>
|
18
|
<property name="from" value="${services.validator.mail.fromAddress}"/>
|
19
|
<property name="replyTo" value="${services.validator.mail.replyToAddress}"/>
|
20
|
<property name="mode" value="${services.validator.mail.mode}"/>
|
21
|
<property name="debug" value="${services.validator.mail.debug}"/>
|
22
|
</bean>
|
23
|
|
24
|
|
25
|
<bean class="eu.dnetlib.repo.manager.server.config.CascadingPropertyLoader"
|
26
|
id="propertyLoader">
|
27
|
<property name="order" value="2"/>
|
28
|
<property name="properties">
|
29
|
<bean class="eu.dnetlib.conf.WebappContextProperyFactory">
|
30
|
<property name="propertyFetcher">
|
31
|
<bean class="eu.dnetlib.conf.PropertyFetcher"/>
|
32
|
</property>
|
33
|
</bean>
|
34
|
</property>
|
35
|
<property name="ignoreUnresolvablePlaceholders" value="true"/>
|
36
|
<property name="locations">
|
37
|
<list>
|
38
|
<value>classpath*:/gr/**/springContext-*.properties</value>
|
39
|
<value>classpath*:/eu/**/springContext-*.properties</value>
|
40
|
|
41
|
<value>classpath*:/eu/dnetlib/repo/manager/server/email-texts.properties</value>
|
42
|
|
43
|
<value>classpath*:dnet-site-wizard.properties</value>
|
44
|
<value>classpath*:dnet-site-override.properties</value>
|
45
|
<value>classpath*:dnet-wizard.properties</value>
|
46
|
<value>classpath*:dnet-override.properties</value>
|
47
|
<value>classpath*:dnet-validator-wizard.properties</value>
|
48
|
<value>classpath*:dnet-validator-override.properties</value>
|
49
|
<value>classpath*:dnet-site-force-override.properties</value>
|
50
|
<value>classpath*:dnet-force-override.properties</value>
|
51
|
|
52
|
<value>classpath*:/eu/**/application.properties</value>
|
53
|
|
54
|
</list>
|
55
|
</property>
|
56
|
</bean>
|
57
|
|
58
|
</beans>
|