1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
3
|
xmlns:jaxws="http://cxf.apache.org/jaxws" xmlns:p="http://www.springframework.org/schema/p"
|
4
|
xmlns:http="http://cxf.apache.org/transports/http/configuration" xmlns="http://www.springframework.org/schema/beans"
|
5
|
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
|
6
|
|
7
|
|
8
|
http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
|
9
|
http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
|
10
|
|
11
|
|
12
|
<!-- endpoints -->
|
13
|
<jaxws:endpoint id="oaiStoreServiceEndpoint"
|
14
|
implementor="#oaiStoreService" implementorClass="eu.dnetlib.rmi.provision.OAIStoreService"
|
15
|
address="/oaistore" />
|
16
|
|
17
|
|
18
|
<bean id="oaiStoreService" class="eu.dnetlib.oai.OAIStoreServiceImpl"
|
19
|
init-method="start" destroy-method="stop" p:notificationHandler-ref="oaiStoreNotificationHandler" />
|
20
|
|
21
|
<bean id="oaiStoreNotificationHandler"
|
22
|
class="eu.dnetlib.enabling.tools.blackboard.BlackboardServerExecutorNotificationHandler"
|
23
|
p:blackboardExecutor-ref="oaiStoreBlackboardExecutor" />
|
24
|
|
25
|
<bean id="oaiStoreBlackboardExecutor"
|
26
|
class="eu.dnetlib.enabling.tools.blackboard.BlackboardServerActionExecutor"
|
27
|
p:blackboardHandler-ref="blackboardHandler"
|
28
|
p:actionType="eu.dnetlib.rmi.provision.OAIStoreActions"
|
29
|
p:incomplete="false">
|
30
|
<property name="actionMap">
|
31
|
<map>
|
32
|
<entry key="SYNC">
|
33
|
<bean class="eu.dnetlib.oai.actions.SyncAction"/>
|
34
|
</entry>
|
35
|
<entry key="COUNT_SETS">
|
36
|
<bean class="eu.dnetlib.oai.actions.CountSetsAction"/>
|
37
|
</entry>
|
38
|
<entry key="REFRESH_CONFIG">
|
39
|
<bean class="eu.dnetlib.oai.actions.RefreshConfigAction"/>
|
40
|
</entry>
|
41
|
<entry key="ENSURE_INDEXES">
|
42
|
<bean class="eu.dnetlib.oai.actions.EnsureIndexesAction"/>
|
43
|
</entry>
|
44
|
<entry key="CREATE_STORE">
|
45
|
<bean class="eu.dnetlib.oai.actions.CreateStoreAction"/>
|
46
|
</entry>
|
47
|
<entry key="CREATE_OAI_INDEX">
|
48
|
<bean class="eu.dnetlib.oai.actions.CreateOAIIndexAction"/>
|
49
|
</entry>
|
50
|
<entry key="DROP_STORE">
|
51
|
<bean class="eu.dnetlib.oai.actions.DropStoreAction"/>
|
52
|
</entry>
|
53
|
</map>
|
54
|
</property>
|
55
|
</bean>
|
56
|
|
57
|
<bean id="synchronizer" class="eu.dnetlib.oai.sync.OAIStoreSynchronizer"/>
|
58
|
|
59
|
<bean id="oaiSetsCounter" class="eu.dnetlib.oai.sets.OAISetsCounter"/>
|
60
|
</beans>
|