Revision 57908
Added by Ioannis Diplas over 4 years ago
application-context.xml | ||
---|---|---|
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:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx" |
|
5 |
xsi:schemaLocation="http://www.springframework.org/schema/beans |
|
6 |
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 |
|
|
8 |
|
|
9 |
<context:annotation-config/> |
|
10 |
<context:component-scan base-package="eu.dnetlib.repo.manager.service.*"/> |
|
11 |
|
|
12 |
<bean class="eu.dnetlib.repo.manager.config.CascadingPropertyLoader" |
|
13 |
id="propertyLoader"> |
|
14 |
<property name="order" value="2"/> |
|
15 |
<property name="properties"> |
|
16 |
<bean class="eu.dnetlib.conf.WebappContextProperyFactory"> |
|
17 |
<property name="propertyFetcher"> |
|
18 |
<bean class="eu.dnetlib.conf.PropertyFetcher"/> |
|
19 |
</property> |
|
20 |
</bean> |
|
21 |
</property> |
|
22 |
<property name="ignoreUnresolvablePlaceholders" value="true"/> |
|
23 |
<property name="locations"> |
|
24 |
<list> |
|
25 |
<value>classpath*:/gr/**/springContext-*.properties</value> |
|
26 |
<value>classpath*:/eu/**/springContext-*.properties</value> |
|
27 |
|
|
28 |
<value>classpath*:/application.properties</value> |
|
29 |
<value>classpath*:/email-texts.properties</value> |
|
30 |
|
|
31 |
<!-- <value>classpath*:dnet-site-wizard.properties</value>--> |
|
32 |
<!-- <value>classpath*:dnet-site-override.properties</value>--> |
|
33 |
<!-- <value>classpath*:dnet-wizard.properties</value>--> |
|
34 |
<!-- <value>classpath*:dnet-override-new.properties</value>--> |
|
35 |
<!-- <value>classpath*:dnet-validator-wizard.properties</value>--> |
|
36 |
<!-- <value>classpath*:dnet-validator-override.properties</value>--> |
|
37 |
<!-- <value>classpath*:dnet-site-force-override.properties</value>--> |
|
38 |
<!-- <value>classpath*:dnet-force-override.properties</value>--> |
|
39 |
</list> |
|
40 |
</property> |
|
41 |
</bean> |
|
42 |
</beans> |
Also available in: Unified diff
Replacing XML configuration for Provide with Java equivalent