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"
4
	xmlns:p="http://http://www.springframework.org/schema/p"
5
	xmlns:t="http://dnetlib.eu/springbeans/t"
6

    
7
	xsi:schemaLocation="
8
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd"
9
	default-autowire="no">
10
	
11
	<bean id="listenersManager" class="eu.dnetlib.validator.service.impls.listeners.ListenersManager">
12
		<lookup-method name="createListener" bean="openaireValListener"/>
13
		<lookup-method name="createCompTestListener" bean="openaireValCompTestListener"/>
14
		<lookup-method name="createRegListener" bean="openaireValRegListener"/>	
15
		<lookup-method name="createDnetListener" bean="openaireDnetListener"/>	
16
		<lookup-method name="createCrisListener" bean="openaireCrisListener"/>	
17
	</bean>
18

    
19
<!--	<bean id ="abstractValidatorListener" class="eu.dnetlib.validator.service.impls.listeners.AbstractValidatorListener" abstract="true">-->
20
<!--		<property name="jobsDao" ref="jobsDao" />-->
21
<!--	</bean>-->
22

    
23
<!--	<bean id ="openaireValRegListener" class="eu.dnetlib.validator.service.impls.listeners.RegistrationListener" parent="abstractValidatorListener" scope="prototype">-->
24
	<bean id ="openaireValRegListener" class="eu.dnetlib.validator.service.impls.listeners.RegistrationListener" scope="prototype">
25
		<property name="jobsDao" ref="jobsDao" />
26
		<property name="providerUrl" value="${provider.endpoint}"/>
27
	</bean>
28
	
29
	<bean id ="openaireValCompTestListener" class="eu.dnetlib.validator.service.impls.listeners.CompatibilityTestListener" scope="prototype">
30
		<property name="emailer" ref="emailer" />
31
		<property name="valBaseUrl" value="${services.validator.webBaseUrl}" />
32
		<property name="jobsDao" ref="jobsDao" />
33
	</bean>	
34
	
35
	<bean id ="openaireValListener" class="eu.dnetlib.validator.service.impls.listeners.ValidatorJobListener" scope="prototype">
36
		<property name="jobsDao" ref="jobsDao" />
37
		<property name="tasksDao" ref="tasksDao" />
38
		<property name="rulesDao" ref="rulesDao" />
39
		<property name="valBaseUrl" value="${services.validator.webBaseUrl}" />
40
	</bean>
41
		
42
	<bean id ="openaireDnetListener" class="eu.dnetlib.validator.service.impls.listeners.DnetListener" scope="prototype" init-method="initOutputs">
43
		<property name="xmlBuilder" ref="recordXMLBuilder" />
44
		<property name="resultSetServiceLocator" ref="resultSetServiceLocator"/>
45
		<property name="rsExecutor" ref="jobExecutor" />
46
	</bean>
47
	
48
	<bean id ="openaireCrisListener" class="eu.dnetlib.validator.service.impls.listeners.CrisListener" scope="prototype">
49
	
50
	</bean>	
51
	
52
	<bean id ="recordXMLBuilder" class="eu.dnetlib.validator.service.impls.listeners.RecordXMLBuilder" init-method="init" scope="prototype" />
53

    
54
</beans>
(2-2/4)