Revision 49898
Added by Panagiotis Kanakakis over 6 years ago
application-context.xml | ||
---|---|---|
2 | 2 |
<beans xmlns="http://www.springframework.org/schema/beans" |
3 | 3 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" |
4 | 4 |
xmlns:context="http://www.springframework.org/schema/context" |
5 |
xmlns:task="http://www.springframework.org/schema/task" |
|
5 |
xmlns:task="http://www.springframework.org/schema/task" xmlns:tx="http://www.springframework.org/schema/tx"
|
|
6 | 6 |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd |
7 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd"> |
|
7 |
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx.xsd">
|
|
8 | 8 |
|
9 |
<import resource="classpath:META-INF/cxf/cxf.xml"/> |
|
10 |
<!-- <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>--> |
|
11 |
<import resource="classpath:META-INF/cxf/cxf-extension-jaxws.xml"/> |
|
12 |
<import resource="classpath:META-INF/cxf/cxf-servlet.xml"/> |
|
13 |
<import resource="classpath*:/cxf.xml"/> |
|
14 |
<import resource="classpath*:/eu/dnetlib/repos/ehcacher/springContext-repos-ehcacher.xml"/> |
|
15 |
<import resource="classpath*:/eu/dnetlib/soap/cxf/applicationContext-eprbuilders.xml"/> |
|
16 |
<import resource="classpath*:/eu/dnetlib/clients/ws/springContext-locatorFactory.xml"/> |
|
17 |
<import resource="classpath*:/eu/dnetlib/users/springContext-users-ldap.xml"/> |
|
18 |
<import resource="classpath*:/gr/uoa/di/driver/util/springContext-locators.xml"/> |
|
19 |
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-lookupFactory.xml"/> |
|
20 |
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-lookupClients.xml"/> |
|
21 |
<import resource="classpath*:/eu/dnetlib/enabling/hcm/springContext-hcmService.xml"/> |
|
22 |
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-commons.xml"/> |
|
23 |
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-registrator.xml"/> |
|
24 |
<import resource="classpath*:/eu/dnetlib/repos/springContext-repos-dms-cached.xml"/> |
|
9 | 25 |
|
26 |
<context:property-placeholder location="classpath*:/eu/**/application.properties" /> |
|
27 |
<tx:annotation-driven transaction-manager="txManager"/> |
|
28 |
|
|
29 |
<bean class="eu.dnetlib.repo.manager.service.config.CascadingPropertyLoader" id="propertyLoader"> |
|
30 |
<property name="order" value="2" /> |
|
31 |
<property name="properties"> |
|
32 |
<bean class="eu.dnetlib.conf.WebappContextProperyFactory"> |
|
33 |
<property name="propertyFetcher"> |
|
34 |
<bean class="eu.dnetlib.conf.PropertyFetcher" /> |
|
35 |
</property> |
|
36 |
</bean> |
|
37 |
</property> |
|
38 |
<property name="ignoreUnresolvablePlaceholders" value="true" /> |
|
39 |
<property name="locations"> |
|
40 |
<list> |
|
41 |
<value>classpath*:/gr/**/springContext-*.properties</value> |
|
42 |
<value>classpath*:/eu/**/springContext-*.properties</value> |
|
43 |
|
|
44 |
<value>classpath*:/eu/dnetlib/repo/manager/service/email-texts.properties</value> |
|
45 |
|
|
46 |
<value>classpath*:dnet-site-wizard.properties</value> |
|
47 |
<value>classpath*:dnet-site-override.properties</value> |
|
48 |
<value>classpath*:dnet-wizard.properties</value> |
|
49 |
<value>classpath*:dnet-override.properties</value> |
|
50 |
<value>classpath*:dnet-validator-wizard.properties</value> |
|
51 |
<value>classpath*:dnet-validator-override.properties</value> |
|
52 |
<value>classpath*:dnet-site-force-override.properties</value> |
|
53 |
<value>classpath*:dnet-force-override.properties</value> |
|
54 |
</list> |
|
55 |
</property> |
|
56 |
</bean> |
|
57 |
|
|
10 | 58 |
<bean id="repomanager.dataSource" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"> |
11 | 59 |
<property name="driverClassName" value="${repomanager.db.driverClassName}" /> |
12 | 60 |
<property name="url" value="${repomanager.db.url}" /> |
... | ... | |
26 | 74 |
<property name="defaultAutoCommit" value="true" /> |
27 | 75 |
</bean> |
28 | 76 |
|
29 |
<context:property-placeholder location="classpath*:/eu/**/application.properties" /> |
|
77 |
<bean id="txManager" class="org.springframework.jdbc.datasource.DataSourceTransactionManager"> |
|
78 |
<property name="dataSource" ref="repomanager.dataSource"/> |
|
79 |
</bean> |
|
30 | 80 |
|
81 |
|
|
31 | 82 |
</beans> |
Also available in: Unified diff
1. Create new update methods for repository api
2. Rename piwik file.
3. Create bean repomanager.datasource
4. Update converter methods ( typology, datasourceClass )