34 lines
2.4 KiB
XML
34 lines
2.4 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:jaxws="http://cxf.apache.org/jaxws"
|
|
xmlns:sec="http://cxf.apache.org/configuration/security" xmlns:wsa="http://cxf.apache.org/ws/addressing"
|
|
xmlns:p="http://www.springframework.org/schema/p" xmlns:http="http://cxf.apache.org/transports/http/configuration"
|
|
xmlns:t="http://dnetlib.eu/springbeans/t" xmlns:template="http://dnetlib.eu/springbeans/template"
|
|
xmlns:util="http://www.springframework.org/schema/util"
|
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
|
http://cxf.apache.org/ws/addressing http://cxf.apache.org/schemas/ws-addr-conf.xsd
|
|
http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd
|
|
http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
|
|
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
|
|
http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.0.xsd
|
|
http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd">
|
|
|
|
<bean id="transformationService" class="eu.dnetlib.data.transformation.service.TransformationServiceImpl"
|
|
init-method="start" destroy-method="stop" />
|
|
|
|
<bean id="dataTransformerFactory" class="eu.dnetlib.data.transformation.service.DataTransformerFactory" />
|
|
|
|
<bean id="transformationServiceLocator" class="eu.dnetlib.enabling.tools.StaticServiceLocator"
|
|
p:service-ref="transformationService" />
|
|
|
|
<!-- endpoints -->
|
|
<jaxws:endpoint id="transformationServiceEndpoint" implementor="#transformationService"
|
|
implementorClass="eu.dnetlib.data.transformation.service.rmi.TransformationService" address="/transformation" />
|
|
|
|
<template:instance name="serviceRegistrationManager"
|
|
t:serviceRegistrationManagerClass="eu.dnetlib.enabling.tools.registration.ValidatingServiceRegistrationManagerImpl"
|
|
t:name="transformationServiceRegistrationManager" t:service="transformationService"
|
|
t:endpoint="transformationServiceEndpoint" t:jobScheduler="jobScheduler"
|
|
t:serviceRegistrator="blackboardServiceRegistrator" />
|
|
|
|
</beans> |