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