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" xmlns:t="http://dnetlib.eu/springbeans/t"
7
	xmlns:tx="http://www.springframework.org/schema/tx"
8

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

    
18
	<bean id="validatorService" class="eu.dnetlib.validator.service.impl.ValidatorServiceImpl"
19
		scope="singleton">
20
		<property name="snManager" ref="snManager" />
21
		<property name="blackboardNotificationHandler" ref="notificationListener" />
22
		<property name="valManager" ref="validatorManager" />
23
		<property name="serviceIdentity">
24
			<bean class="eu.dnetlib.utils.ServiceIdentityFactory"
25
				factory-method="createIdentity">
26
				<constructor-arg value="uoa-validator-service" />
27
			</bean>
28
		</property>
29
	</bean>
30
	
31
<!-- 	<alias name="validatorServiceIS" alias="validatorService"/> -->
32
	
33
	<!-- The web service bean -->
34
	<bean id="validatorWebServiceImpl"
35
		class="eu.dnetlib.clients.functionality.validator.ws.ValidatorWebServiceImpl">
36
		<property name="service" ref="validatorService" />
37
	</bean>
38

    
39
	<!-- Service endpoint -->
40
	<jaxws:endpoint 
41
		id="validatorWebService"
42
		implementor="#validatorWebServiceImpl"
43
		implementorClass="eu.dnetlib.clients.functionality.validator.ws.ValidatorWebService"
44
		address="/validatorWebService"/>
45

    
46
	<template:instance name="nkua.serviceRegistrationManager"
47
		t:name="validatorServiceRegistrationManager"
48
		t:service="validatorService"
49
		t:endpoint="validatorWebService"/>
50
</beans>
(6-6/7)