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="validatorServiceIS" 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
|
</bean>
|
24
|
|
25
|
<alias name="validatorServiceIS" alias="validatorService"/>
|
26
|
|
27
|
<!-- The web service bean -->
|
28
|
<bean id="validatorWebServiceImpl"
|
29
|
class="eu.dnetlib.clients.functionality.validator.ws.ValidatorWebServiceImpl">
|
30
|
<property name="service" ref="validatorService" />
|
31
|
</bean>
|
32
|
|
33
|
<!-- Service endpoint -->
|
34
|
<jaxws:endpoint
|
35
|
id="validatorWebService"
|
36
|
implementor="#validatorWebServiceImpl"
|
37
|
implementorClass="eu.dnetlib.clients.functionality.validator.ws.ValidatorWebService"
|
38
|
address="/validatorWebService"/>
|
39
|
|
40
|
<template:instance name="nkua.serviceRegistrationManager"
|
41
|
t:name="validatorServiceRegistrationManager"
|
42
|
t:service="validatorService"
|
43
|
t:endpoint="validatorWebService"/>
|
44
|
</beans>
|