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:jaxws="http://cxf.apache.org/jaxws"
|
4
|
xmlns:sec="http://cxf.apache.org/configuration/security" xmlns:wsa="http://cxf.apache.org/ws/addressing"
|
5
|
xmlns:p="http://www.springframework.org/schema/p" xmlns:http="http://cxf.apache.org/transports/http/configuration"
|
6
|
xmlns:t="http://dnetlib.eu/springbeans/t" xmlns:template="http://dnetlib.eu/springbeans/template"
|
7
|
xmlns:util="http://www.springframework.org/schema/util"
|
8
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
9
|
http://cxf.apache.org/ws/addressing http://cxf.apache.org/schemas/ws-addr-conf.xsd
|
10
|
http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd
|
11
|
http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
|
12
|
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
|
13
|
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd
|
14
|
http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd">
|
15
|
|
16
|
<bean id="transformationService" class="eu.dnetlib.data.transformation.service.TransformationServiceImpl"
|
17
|
init-method="start" destroy-method="stop" />
|
18
|
|
19
|
<bean id="dataTransformerFactory" class="eu.dnetlib.data.transformation.service.DataTransformerFactory" />
|
20
|
|
21
|
<bean id="transformationServiceLocator" class="eu.dnetlib.enabling.tools.StaticServiceLocator"
|
22
|
p:service-ref="transformationService" />
|
23
|
|
24
|
<!-- endpoints -->
|
25
|
<jaxws:endpoint id="transformationServiceEndpoint" implementor="#transformationService"
|
26
|
implementorClass="eu.dnetlib.data.transformation.service.rmi.TransformationService" address="/transformation" />
|
27
|
|
28
|
<template:instance name="serviceRegistrationManager"
|
29
|
t:serviceRegistrationManagerClass="eu.dnetlib.enabling.tools.registration.ValidatingServiceRegistrationManagerImpl"
|
30
|
t:name="transformationServiceRegistrationManager" t:service="transformationService"
|
31
|
t:endpoint="transformationServiceEndpoint" t:jobScheduler="jobScheduler"
|
32
|
t:serviceRegistrator="blackboardServiceRegistrator" />
|
33
|
|
34
|
</beans>
|