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:jaxws="http://cxf.apache.org/jaxws"
4
	xmlns:sec="http://cxf.apache.org/configuration/security" xmlns:wsa="http://cxf.apache.org/ws/addressing"
5
	xmlns:p="http://www.springframework.org/schema/p" xmlns:http="http://cxf.apache.org/transports/http/configuration"
6
	xmlns:t="http://dnetlib.eu/springbeans/t" xmlns:template="http://dnetlib.eu/springbeans/template"
7
	xmlns:util="http://www.springframework.org/schema/util"
8
	xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
9
						http://cxf.apache.org/ws/addressing http://cxf.apache.org/schemas/ws-addr-conf.xsd
10
						http://cxf.apache.org/configuration/security http://cxf.apache.org/schemas/configuration/security.xsd
11
						http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd
12
						http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
13
						http://dnetlib.eu/springbeans/template http://dnetlib.eu/springbeans/template.xsd
14
						http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util.xsd">
15

    
16
	<!-- beans -->
17
	<bean id="actorSystemFactory" class="eu.dnetlib.functionality.index.actors.ActorSystemFactory"/>
18

    
19
	<bean id="actorSystem" class="akka.actor.ActorSystem"
20
		factory-bean="actorSystemFactory" factory-method="newInstance"/>
21
		
22
	<bean  id="actorMap" class="eu.dnetlib.functionality.index.actors.ActorMap" />
23
	
24
	<bean id="indexFeedActorFactory"
25
		class="eu.dnetlib.functionality.index.actors.IndexFeedActorFactory" 
26
		p:indexServerDAOMap-ref="indexServerDAOMap" 
27
		p:serviceTools-ref="serviceTools"
28
		p:actorSystem-ref="actorSystem" />
29
	
30
	<bean id="keepAliveResultsetJobScheduler"
31
		class="org.springframework.scheduling.quartz.SchedulerFactoryBean"
32
		destroy-method="destroy">
33
		<property name="jobFactory">
34
			<bean id="jobSchedulerFactory"
35
				class="org.springframework.scheduling.quartz.SpringBeanJobFactory" />
36
		</property>
37
	</bean>
38

    
39
	<bean id="resultsetKeepaliveJob" class="org.springframework.scheduling.quartz.JobDetailFactoryBean"
40
		p:jobClass="eu.dnetlib.functionality.index.actors.ResultsetKeepAliveJob"
41
		p:name="resultsetKeepaliveJob" p:group="keepalive" p:durability="true">
42
		<property name="jobDataAsMap">
43
			<map>
44
				<entry key="serviceResolver" value-ref="serviceResolver" />
45
				<entry key="eprUtils" value-ref="eprUtils" />
46
			</map>
47
		</property>
48
	</bean>		
49

    
50

    
51
</beans>
    (1-1/1)