Project

General

Profile

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:p="http://www.springframework.org/schema/p"
4
	xmlns:util="http://www.springframework.org/schema/util"
5
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
6
 		http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd
7
        http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd">
8

    
9
	<bean id="wfNodePrepareOaiJob"
10
		class="eu.dnetlib.msro.oai.workflows.nodes.PrepareOaiDataJobNode"
11
		scope="prototype" />
12

    
13
	<!-- OAI feed -->
14
	<bean id="wfNodeSyncOAIStores" class="eu.dnetlib.msro.oai.workflows.nodes.SyncOAIStoreJobNode"
15
		scope="prototype" p:processCountingResultSetFactory-ref="msroProcessCountingResultSetFactory" />
16

    
17
	<!-- Update OAI sets count -->
18
	<bean id="wfNodeOAISetsCountUpdate" class="eu.dnetlib.msro.oai.workflows.nodes.OAISetsCountJobNode"
19
		scope="prototype" />
20

    
21
	<!-- Reload the current sets configuration -->
22
	<bean id="wfNodeOAIRefreshConfiguration"
23
		class="eu.dnetlib.msro.oai.workflows.nodes.RefreshOAIConfigJobNode"
24
		scope="prototype" />
25
	<!-- Keeping the old name as alias, just to avoid things at runtime to fail 
26
		becasue of the renaming -->
27
	<alias name="wfNodeOAIRefreshConfiguration" alias="wfNodeRefreshSetsFromConfig" />
28

    
29

    
30
	<!-- Refresh sets based on current config -->
31
	<bean id="wfNodeOAIEnsureIndexes"
32
		class="eu.dnetlib.msro.oai.workflows.nodes.OAIEnsureIndexesJobNode"
33
		scope="prototype" />
34

    
35
	<!-- Create new OAI store if needed -->
36
	<bean id="wfNodeOAICreateStore"
37
		class="eu.dnetlib.msro.oai.workflows.nodes.OAICreateStoreJobNode"
38
		scope="prototype" />
39

    
40
	<!-- Create new (compound) index on OAI stores -->
41
	<bean id="wfNodeOAICreateIndex"
42
		class="eu.dnetlib.msro.oai.workflows.nodes.OAICreateIndexJobNode"
43
		scope="prototype" />
44

    
45
	<!-- Drop OAI store -->
46
	<bean id="wfNodeOAIDropStore" class="eu.dnetlib.msro.oai.workflows.nodes.OAIDropStoreJobNode"
47
		scope="prototype" />
48

    
49
	<!-- Set backend db -->
50
	<bean id="wfNodeSetCurrentOAIDB"
51
		class="eu.dnetlib.msro.oai.workflows.nodes.SetCurrentOAIDBJobNode"
52
		scope="prototype" />
53
</beans>
    (1-1/1)