Project

General

Profile

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" xmlns:p="http://www.springframework.org/schema/p"
4
	xmlns:util="http://www.springframework.org/schema/util" xmlns:cache="http://www.springframework.org/schema/cache"
5
	xmlns:jaxws="http://cxf.apache.org/jaxws" xmlns:template="http://dnetlib.eu/springbeans/template"
6
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
7
                        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
8
	http://www.springframework.org/schema/cache http://www.springframework.org/schema/cache/spring-cache.xsd
9
	http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
10

    
11
	<bean id="vocabularyCacheManager" class="org.springframework.cache.ehcache.EhCacheCacheManager"
12
        p:cache-manager-ref="vocabularyCache" />
13

    
14
	<bean id="vocabularyCache"
15
		class="org.springframework.cache.ehcache.EhCacheManagerFactoryBean"
16
		p:cacheManagerName="vocabularyCache"
17
		p:configLocation="classpath:/eu/dnetlib/vocabularies/publisher/cache/ehcache.xml" />
18

    
19
	<bean id="vocabularyRetriever" class="eu.dnetlib.vocabularies.publisher.VocabularyRetriever" />
20
	
21
</beans>
(2-2/3)