Project

General

Profile

Statistics
| Branch: | Tag: | Revision:

cdmlib / cdmlib-remote / src / test / resources / eu / etaxonomy / cdm / applicationContext-test.xml @ 5b44f518

History | View | Annotate | Download (1.46 KB)

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-3.0.xsd
8
    http://www.springframework.org/schema/context
9
    http://www.springframework.org/schema/context/spring-context-3.0.xsd
10
    http://www.springframework.org/schema/tx 
11
    http://www.springframework.org/schema/tx/spring-tx-3.0.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 compoents 
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  use 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>
Add picture from clipboard (Maximum size: 40 MB)