Project

General

Profile

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" 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

    
10
	<!-- beans -->
11
	<bean id="actorSystemFactory" class="eu.dnetlib.index.actors.ActorSystemFactory"/>
12

    
13
	<bean id="actorSystem" class="akka.actor.ActorSystem"
14
	      factory-bean="actorSystemFactory" factory-method="newInstance"/>
15

    
16
	<bean id="actorMap" class="eu.dnetlib.index.actors.ActorMap"/>
17

    
18
	<bean id="indexFeedActorFactory"
19
	      class="eu.dnetlib.index.actors.IndexFeedActorFactory"
20
	      p:indexServerDAOMap-ref="indexServerDAOMap"
21
	      p:actorSystem-ref="actorSystem"/>
22

    
23
	<bean id="keepAliveResultsetJobScheduler"
24
	      class="org.springframework.scheduling.quartz.SchedulerFactoryBean"
25
	      destroy-method="destroy">
26
		<property name="jobFactory">
27
			<bean id="jobSchedulerFactory"
28
			      class="org.springframework.scheduling.quartz.SpringBeanJobFactory"/>
29
		</property>
30
	</bean>
31

    
32
	<bean id="resultsetKeepaliveJob" class="org.springframework.scheduling.quartz.JobDetailFactoryBean"
33
	      p:jobClass="eu.dnetlib.index.actors.ResultsetKeepAliveJob"
34
	      p:name="resultsetKeepaliveJob" p:group="keepalive" p:durability="true">
35
		<property name="jobDataAsMap">
36
			<map>
37
				<entry key="serviceResolver" value-ref="serviceResolver"/>
38
			</map>
39
		</property>
40
	</bean>
41

    
42

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