Project

General

Profile

« Previous | Next » 

Revision 51086

1. Organize xml files

View differences:

springContext-repo-manager.xml
2 2
<beans xmlns="http://www.springframework.org/schema/beans"
3 3
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 4
       xmlns:task="http://www.springframework.org/schema/task"
5
       xmlns:context="http://www.springframework.org/schema/context"
6 5
       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"
6

  
7
		  http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task.xsd"
8 8
       default-autowire="byType">
9 9

  
10

  
11 10
    <task:annotation-driven executor="myExecutor" scheduler="myScheduler"/>
12 11
    <task:executor id="myExecutor" pool-size="5"/>
13 12
    <task:scheduler id="myScheduler" pool-size="10"/>
14
    <context:component-scan base-package="eu.dnetlib.repo.manager.server.config"/>
15 13

  
16

  
17 14
    <bean id="maillib" class="eu.dnetlib.utils.MailLibrary" init-method="init">
18 15
        <property name="mailhost" value="${services.validator.mail.host}"/>
19 16
        <property name="smtpPort" value="${services.validator.mail.port}"/>
......
25 22
        <property name="mode" value="${services.validator.mail.mode}"/>
26 23
        <property name="debug" value="${services.validator.mail.debug}"/>
27 24
    </bean>
28

  
29

  
30
    <!--<bean id="webexpressionHandler"
31
          class="org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler"/>-->
32

  
33 25
</beans>

Also available in: Unified diff