1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3
|
xmlns:p="http://www.springframework.org/schema/p"
|
4
|
xmlns:http="http://cxf.apache.org/transports/http/configuration"
|
5
|
xmlns="http://www.springframework.org/schema/beans"
|
6
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
7
|
|
8
|
|
9
|
http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd">
|
10
|
|
11
|
|
12
|
<bean id="cMRCollectorPlugin" class="eu.dnetlib.wds.collector.plugins.CMRCollectorPlugin"
|
13
|
p:classPathTemplate="classpath:/eu/dnetlib/wds/collector/plugins/CMR2Datacite.st">
|
14
|
<property name="protocolDescriptor">
|
15
|
<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="CMRCollectorPlugin"/>
|
16
|
</property>
|
17
|
</bean>
|
18
|
|
19
|
|
20
|
<bean id="CMREntityRegistryPlugin" class="eu.dnetlib.wds.collector.plugins.CMRDatasourcePlugin"
|
21
|
p:xmlTemplate-ref="CMRDsTemplate">
|
22
|
<property name="protocolDescriptor">
|
23
|
<bean class="eu.dnetlib.rmi.data.ProtocolDescriptor" p:name="CMREntityRegistry"/>
|
24
|
</property>
|
25
|
</bean>
|
26
|
|
27
|
|
28
|
<bean id="CMRDsTemplate"
|
29
|
class="eu.dnetlib.springutils.stringtemplate.StringTemplateFactory"
|
30
|
p:template="classpath:/eu/dnetlib/wds/collector/plugins/CMR2Datasource.st"
|
31
|
scope="prototype"/>
|
32
|
|
33
|
|
34
|
</beans>
|