Project

General

Profile

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
			        <ref bean="datasourceCacheManager" />
23
        		</array>
24
    		</property>
25
    		<property name="fallbackToNoOpCache" value="true" />
26
		</bean>
27

    
28
</beans>
(1-1/3)