1 |
49205
|
panagiotis
|
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
3 |
51525
|
panagiotis
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4 |
52781
|
panagiotis
|
xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx"
|
5 |
51239
|
panagiotis
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
6 |
52781
|
panagiotis
|
http://www.springframework.org/schema/beans/spring-beans-4.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd">
|
7 |
49205
|
panagiotis
|
|
8 |
50372
|
panagiotis
|
|
9 |
51239
|
panagiotis
|
<context:annotation-config/>
|
10 |
52781
|
panagiotis
|
<context:component-scan base-package="eu.dnetlib.repo.manager.service.*"/>
|
11 |
49898
|
panagiotis
|
<tx:annotation-driven transaction-manager="txManager"/>
|
12 |
|
|
|
13 |
54525
|
panagiotis
|
<bean class="eu.dnetlib.repo.manager.config.CascadingPropertyLoader"
|
14 |
51330
|
panagiotis
|
id="propertyLoader">
|
15 |
|
|
<property name="order" value="2"/>
|
16 |
49898
|
panagiotis
|
<property name="properties">
|
17 |
|
|
<bean class="eu.dnetlib.conf.WebappContextProperyFactory">
|
18 |
|
|
<property name="propertyFetcher">
|
19 |
51330
|
panagiotis
|
<bean class="eu.dnetlib.conf.PropertyFetcher"/>
|
20 |
49898
|
panagiotis
|
</property>
|
21 |
|
|
</bean>
|
22 |
|
|
</property>
|
23 |
51330
|
panagiotis
|
<property name="ignoreUnresolvablePlaceholders" value="true"/>
|
24 |
49898
|
panagiotis
|
<property name="locations">
|
25 |
|
|
<list>
|
26 |
|
|
<value>classpath*:/gr/**/springContext-*.properties</value>
|
27 |
|
|
<value>classpath*:/eu/**/springContext-*.properties</value>
|
28 |
|
|
|
29 |
52781
|
panagiotis
|
<value>classpath*:/application.properties</value>
|
30 |
53003
|
panagiotis
|
<value>classpath*:/email-texts.properties</value>
|
31 |
49898
|
panagiotis
|
|
32 |
57217
|
ioannis.di
|
<!-- <value>classpath*:dnet-site-wizard.properties</value>-->
|
33 |
|
|
<!-- <value>classpath*:dnet-site-override.properties</value>-->
|
34 |
|
|
<!-- <value>classpath*:dnet-wizard.properties</value>-->
|
35 |
|
|
<!-- <value>classpath*:dnet-override-new.properties</value>-->
|
36 |
|
|
<!-- <value>classpath*:dnet-validator-wizard.properties</value>-->
|
37 |
|
|
<!-- <value>classpath*:dnet-validator-override.properties</value>-->
|
38 |
|
|
<!-- <value>classpath*:dnet-site-force-override.properties</value>-->
|
39 |
|
|
<!-- <value>classpath*:dnet-force-override.properties</value>-->
|
40 |
49898
|
panagiotis
|
</list>
|
41 |
|
|
</property>
|
42 |
|
|
</bean>
|
43 |
|
|
|
44 |
49868
|
panagiotis
|
<bean id="repomanager.dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close">
|
45 |
|
|
<property name="driverClassName" value="${repomanager.db.driverClassName}" />
|
46 |
|
|
<property name="url" value="${repomanager.db.url}" />
|
47 |
|
|
<property name="username" value="${repomanager.db.username}" />
|
48 |
|
|
<property name="password" value="${repomanager.db.password}" />
|
49 |
|
|
<property name="maxIdle" value="10" />
|
50 |
|
|
<property name="maxActive" value="100" />
|
51 |
|
|
<property name="maxWait" value="10000" />
|
52 |
|
|
<property name="validationQuery" value="SELECT 1;" />
|
53 |
|
|
<property name="testOnBorrow" value="true" />
|
54 |
|
|
<property name="testOnReturn" value="true" />
|
55 |
|
|
<property name="testWhileIdle" value="true" />
|
56 |
|
|
<property name="timeBetweenEvictionRunsMillis" value="1200000" />
|
57 |
|
|
<property name="minEvictableIdleTimeMillis" value="1800000" />
|
58 |
|
|
<property name="numTestsPerEvictionRun" value="5" />
|
59 |
|
|
<property name="poolPreparedStatements" value="true" />
|
60 |
|
|
<property name="defaultAutoCommit" value="true" />
|
61 |
|
|
</bean>
|
62 |
|
|
|
63 |
49898
|
panagiotis
|
<bean id="txManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager">
|
64 |
|
|
<property name="dataSource" ref="repomanager.dataSource"/>
|
65 |
|
|
</bean>
|
66 |
49205
|
panagiotis
|
|
67 |
50331
|
panagiotis
|
</beans>
|