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:context="http://www.springframework.org/schema/context"
4
	xmlns:p="http://www.springframework.org/schema/p" xmlns:util="http://www.springframework.org/schema/util"
5
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
6
		http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
7
		http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
8

    
9
	<bean id="transformationTemplate" class="org.springframework.core.io.ClassPathResource">
10
		<constructor-arg value="${services.transformation.defaulttemplate}" />
11
	</bean>
12

    
13
	<bean id="defaultSchema" class="org.springframework.core.io.ClassPathResource">
14
		<constructor-arg value="${services.transformation.defaultschema}" />
15
	</bean>
16
	
17
	<bean id="blacklistApi" class="org.springframework.core.io.UrlResource">
18
		<constructor-arg value="${services.transformation.blacklist_api}" />
19
	</bean>
20
	
21
	<bean id="transformationRuleProfileUtil"
22
		class="eu.dnetlib.data.collective.transformation.utils.TransformationRulesImportTool"
23
		p:lookupServiceLocator-ref="lookupLocator" />
24

    
25
<!-- <bean id="resourceDaoSupport" class="eu.dnetlib.common.profile.ResourceDaoRemoteSupport"
26
		p:lookupLocator-ref="lookupLocator" p:registryLocator-ref="registryLocator" />
27
-->		
28
	<bean id="resourceDaoSupport" class="eu.dnetlib.common.profile.ResourceCache"
29
		p:lookupLocator-ref="lookupLocator" />
30

    
31
	<bean id="resourceDao" class="eu.dnetlib.common.profile.ResourceDao"
32
		p:daoSupport-ref="resourceDaoSupport">
33
	</bean>
34

    
35
	<bean id="vocabularyRegistry"
36
		class="eu.dnetlib.data.collective.transformation.VocabularyRegistry"
37
		p:vocabularies="${services.transformation.vocabularyproperties.json}" />
38

    
39
	<bean class="org.springframework.beans.factory.config.CustomEditorConfigurer">
40
		<property name="customEditors">
41
			<map>
42
				<entry key="eu.dnetlib.data.collective.transformation.VocabularyMap"
43
					value="eu.dnetlib.data.collective.transformation.VocabularyTypeEditor">
44
				</entry>
45
			</map>
46
		</property>
47
	</bean>
48

    
49
</beans>
(1-1/2)