1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
|
3
|
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
xmlns:context="http://www.springframework.org/schema/context"
|
5
|
xmlns="http://www.springframework.org/schema/beans"
|
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">
|
8
|
|
9
|
<import resource="classpath:META-INF/cxf/cxf.xml" />
|
10
|
|
11
|
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-commons.xml" />
|
12
|
<import resource="classpath*:/gr/uoa/di/driver/util/springContext-locators.xml" />
|
13
|
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-registrator.xml" />
|
14
|
<import resource="classpath*:/eu/dnetlib/clients/ws/springContext-locatorFactory.xml" />
|
15
|
<import resource="classpath*:/eu/dnetlib/soap/cxf/applicationContext-eprbuilders.xml"/>
|
16
|
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-lookupFactory.xml" />
|
17
|
<import resource="classpath*:/gr/uoa/di/driver/app/springContext-lookupClients.xml" />
|
18
|
|
19
|
<import resource="classpath*:/eu/dnetlib/enabling/hcm/springContext-hcmService.xml" />
|
20
|
<import resource="classpath*:/eu/dnetlib/data/search/solr/springContext-searchService-solr.xml" />
|
21
|
<import resource="classpath*:/eu/dnetlib/data/search/springContext-transformation.xml" />
|
22
|
<import resource="classpath*:/eu/dnetlib/data/search/springContext-searchService.xml" />
|
23
|
|
24
|
<bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
|
25
|
<property name="order" value="2" />
|
26
|
<property name="ignoreUnresolvablePlaceholders" value="true" />
|
27
|
<property name="properties">
|
28
|
<bean class="eu.dnetlib.conf.WebappContextProperyFactory">
|
29
|
<property name="propertyFetcher">
|
30
|
<bean class="eu.dnetlib.conf.PropertyFetcher" />
|
31
|
</property>
|
32
|
</bean>
|
33
|
</property>
|
34
|
<property name="locations">
|
35
|
<list>
|
36
|
<value>classpath*:/eu/**/applicationContext*.properties</value>
|
37
|
<value>classpath*:/eu/dnetlib/applicationContext-defaultProperties.properties</value>
|
38
|
<value>classpath*:/gr/**/springContext-commons.properties</value>
|
39
|
<value>classpath*:/gr/**/springContext-registrator.properties</value>
|
40
|
<value>classpath*:/gr/**/springContext-locators.properties</value>
|
41
|
<value>classpath*:/gr/uoa/di/driver/app/springContext-lookupFactory.properties</value>
|
42
|
<value>classpath*:/eu/dnetlib/enabling/hcm/springContext-hcmService.properties</value>
|
43
|
<value>classpath*:/eu/**/springContext-searchService-solr.properties</value>
|
44
|
<value>classpath*:/eu/**/springContext-searchService.properties</value>
|
45
|
<value>classpath*:/eu/**/springContext-transformation.properties</value>
|
46
|
<value>classpath*:/uoa-override.properties</value>
|
47
|
<value>classpath*:/dnet-override.properties</value>
|
48
|
<value>classpath*:/uoa-shadow-override.properties</value>
|
49
|
</list>
|
50
|
</property>
|
51
|
</bean>
|
52
|
|
53
|
<context:annotation-config />
|
54
|
<context:component-scan base-package="eu.dnetlib.data.search.web.api">
|
55
|
<context:include-filter type="annotation" expression="org.springframework.web.bind.annotation.ControllerAdvice" />
|
56
|
</context:component-scan>
|
57
|
|
58
|
<import resource="./cxf.xml" />
|
59
|
</beans>
|