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

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