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:cxf="http://cxf.apache.org/core" xmlns:jaxws="http://cxf.apache.org/jaxws"
5
	xmlns:p="http://http://www.springframework.org/schema/p"
6
	xmlns:template="http://dnetlib.eu/springbeans/template" 
7
	xmlns:t="http://dnetlib.eu/springbeans/t"
8
	xmlns:tx="http://www.springframework.org/schema/tx"
9

    
10
	xsi:schemaLocation="
11
		http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd
12
        http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd
13
        http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
14
        http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
15
        http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd
16
        http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd"
17
	default-autowire="no">
18

    
19
	<bean id="validatorManager" class="eu.dnetlib.validator.service.impl.ValidatorManagerImpl" scope="singleton" init-method="start">
20
		<property name="validator" ref="validator" />
21
		<property name="jobsDao" ref="jobsDao" />
22
		<property name="rulesetsDao" ref="rulesetsDao" />
23
		<property name="rulesDao" ref="rulesDao" />
24
		<property name="listenersManager" ref="listenersManager" />
25
		<property name="valRestore" ref="validatorRestore"></property>
26
	</bean>
27

    
28
	<bean id ="validatorRestore" class="eu.dnetlib.validator.service.impls.ValidatorRestore" scope="prototype">
29
		<property name="jobsDao" ref="jobsDao" />
30
		<property name="rulesetsDao" ref="rulesetsDao" />
31
		<property name="valManager" ref="validatorManager"></property>
32
		<property name="autoRestoreOnStartup" value="${services.validator.autoRestoreOnStartup}" />
33
	</bean>
34
</beans>
(5-5/7)