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"
|
5
|
xmlns:tx="http://www.springframework.org/schema/tx"
|
6
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
7
|
http://www.springframework.org/schema/beans/spring-beans-4.3.xsd
|
8
|
http://www.springframework.org/schema/context
|
9
|
http://www.springframework.org/schema/context/spring-context-4.3.xsd
|
10
|
http://www.springframework.org/schema/tx
|
11
|
http://www.springframework.org/schema/tx/spring-tx-4.3.xsd">
|
12
|
|
13
|
<context:property-override location="classpath:eu/etaxonomy/cdm/override.properties"/>
|
14
|
|
15
|
<!--
|
16
|
This applicationContext is not a full cdm application context. It only covers the remote components
|
17
|
without service and persistence. The cacheManager is usually provided via a Java config class in
|
18
|
eu/etaxonomy/cdm/service/api/conf which cannot be used in this context. Therefore we are
|
19
|
using the EhCacheManagerFactoryBean here to initialize the cacheManager bean.
|
20
|
-->
|
21
|
<bean id="cacheManager" class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean">
|
22
|
<property name="configLocation" value="classpath:/eu/etaxonomy/cdm/remote/ehcache.xml"/>
|
23
|
<property name="shared" value="true"/>
|
24
|
</bean>
|
25
|
|
26
|
<import resource="classpath:/eu/etaxonomy/cdm/remote.xml"/>
|
27
|
</beans>
|