46 lines
2.4 KiB
XML
46 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"
|
||
|
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://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd">
|
||
|
|
||
|
<!-- beans -->
|
||
|
<bean id="hnmService" class="eu.dnetlib.enabling.hnm.HostingNodeManagerServiceImpl"
|
||
|
init-method="start" destroy-method="stop"/>
|
||
|
|
||
|
<!-- endpoints -->
|
||
|
<jaxws:endpoint id="hnmServiceEndpoint"
|
||
|
implementor="#hnmService" implementorClass="eu.dnetlib.enabling.hnm.rmi.HostingNodeManagerService"
|
||
|
address="/hnm" />
|
||
|
|
||
|
<template:instance name="serviceRegistrationManager"
|
||
|
t:serviceRegistrationManagerClass="eu.dnetlib.enabling.tools.registration.ValidatingServiceRegistrationManagerImpl"
|
||
|
t:name="hnmServiceRegistrationManager" t:service="hnmService"
|
||
|
t:endpoint="hnmServiceEndpoint" t:jobScheduler="jobScheduler"
|
||
|
t:serviceRegistrator="hnmServiceRegistrator" />
|
||
|
|
||
|
|
||
|
<bean id="hnmServiceRegistrator"
|
||
|
class="eu.dnetlib.enabling.tools.registration.BlackboardServiceRegistrator"
|
||
|
p:serviceLocator-ref="uniqueServiceLocator"
|
||
|
p:serviceNameResolver-ref="defaultServiceNameResolver"
|
||
|
p:eprBuilder-ref="jaxwsEndpointReferenceBuilder">
|
||
|
<property name="serviceProperties">
|
||
|
<map>
|
||
|
<entry key="name" value="unknown" />
|
||
|
<entry key="latitude" value="0" />
|
||
|
<entry key="longitude" value="0" />
|
||
|
<entry key="timezone" value="0" />
|
||
|
</map>
|
||
|
</property>
|
||
|
</bean>
|
||
|
|
||
|
</beans>
|