Revision 43684
Added by Claudio Atzori about 8 years ago
webapps/dnet-container-openaireplus/branches/beta/src/main/resources/eu/dnetlib/applicationContext-ehcache.xml | ||
---|---|---|
1 |
<beans xmlns="http://www.springframework.org/schema/beans" |
|
2 |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:p="http://www.springframework.org/schema/p" |
|
3 |
xmlns:util="http://www.springframework.org/schema/util" xmlns:cache="http://www.springframework.org/schema/cache" |
|
4 |
xmlns:jaxws="http://cxf.apache.org/jaxws" xmlns:template="http://dnetlib.eu/springbeans/template" |
|
5 |
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd |
|
6 |
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd |
|
7 |
http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache.xsd |
|
8 |
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"> |
|
9 |
|
|
10 |
<!-- THIS FILE MUST CONTAIN THE CACHEMANAGER DECALRED IN DEPENDENCY MODULES |
|
11 |
THAT MUST BE USED BY THE CONTAINER BECAUSE WE CANNOT HAVE MULTIPLE <cache:annotation-driven> |
|
12 |
IN DIFFERENT MODULES. --> |
|
13 |
<cache:annotation-driven cache-manager="isCacheManager" /> |
|
14 |
|
|
15 |
<!-- ADD TO THE ARRAY OF CACHE MANAGERS THE CACHE MANAGER DEFINED IN MODULES" APPLICATION CONTEXTS --> |
|
16 |
<bean id="isCacheManager" class="org.springframework.cache.support.CompositeCacheManager"> |
|
17 |
<property name="cacheManagers"> |
|
18 |
<array> |
|
19 |
<!-- <ref bean="resultSetCacheManager" /> --> |
|
20 |
<!-- <ref bean="repoUICacheManager" /> --> |
|
21 |
<ref bean="issnCacheManager" /> |
|
22 |
</array> |
|
23 |
</property> |
|
24 |
<property name="fallbackToNoOpCache" value="true" /> |
|
25 |
</bean> |
|
26 |
|
|
27 |
</beans> |
webapps/dnet-container-openaireplus/branches/beta/pom.xml | ||
---|---|---|
153 | 153 |
<dependency> |
154 | 154 |
<groupId>eu.dnetlib</groupId> |
155 | 155 |
<artifactId>dnet-fs-objectstore</artifactId> |
156 |
<version>[1.0.0,2.0.0)</version>
|
|
156 |
<version>[2.0.0,3.0.0)</version>
|
|
157 | 157 |
</dependency> |
158 | 158 |
<dependency> |
159 | 159 |
<groupId>eu.dnetlib</groupId> |
Also available in: Unified diff
added container wise ehCache definitions, using updated fs-objectStore