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
|
xmlns:context="http://www.springframework.org/schema/context"
|
6
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.1.xsd
|
7
|
http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd"
|
8
|
default-autowire="byType">
|
9
|
|
10
|
|
11
|
<task:annotation-driven executor="myExecutor" scheduler="myScheduler"/>
|
12
|
<task:executor id="myExecutor" pool-size="5"/>
|
13
|
<task:scheduler id="myScheduler" pool-size="10"/>
|
14
|
<context:component-scan base-package="eu.dnetlib.repo.manager.server.config"/>
|
15
|
|
16
|
|
17
|
<bean id="maillib" class="eu.dnetlib.utils.MailLibrary" init-method="init">
|
18
|
<property name="mailhost" value="${services.validator.mail.host}"/>
|
19
|
<property name="smtpPort" value="${services.validator.mail.port}"/>
|
20
|
<property name="authenticate" value="${services.validator.mail.authenticate}"/>
|
21
|
<property name="username" value="${services.validator.mail.username}"/>
|
22
|
<property name="password" value="${services.validator.mail.password}"/>
|
23
|
<property name="from" value="${services.validator.mail.fromAddress}"/>
|
24
|
<property name="replyTo" value="${services.validator.mail.replyToAddress}"/>
|
25
|
<property name="mode" value="${services.validator.mail.mode}"/>
|
26
|
<property name="debug" value="${services.validator.mail.debug}"/>
|
27
|
</bean>
|
28
|
|
29
|
|
30
|
<!--<bean id="webexpressionHandler"
|
31
|
class="org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler"/>-->
|
32
|
|
33
|
</beans>
|