]> git.argeo.org Git - gpl/argeo-slc.git/blob - modules/server/org.argeo.slc.server.services/META-INF/spring/services.xml
Update manifest versions
[gpl/argeo-slc.git] / modules / server / org.argeo.slc.server.services / META-INF / spring / services.xml
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:aop="http://www.springframework.org/schema/aop"
4 xmlns:tx="http://www.springframework.org/schema/tx"
5 xsi:schemaLocation="
6 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
7 http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
8 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
9
10 <bean
11 class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
12 <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
13 <property name="ignoreUnresolvablePlaceholders" value="true" />
14 <property name="locations">
15 <value>osgibundle:services.properties
16 </value>
17 </property>
18 </bean>
19
20 <!-- Attachments -->
21 <bean id="attachmentsStorage" class="org.argeo.slc.core.attachment.FileAttachmentsStorage"></bean>
22
23 <!-- Events -->
24 <aop:aspectj-autoproxy />
25
26 <bean id="eventPublisherAspect" class="org.argeo.slc.services.EventPublisherAspect">
27 <property name="eventPublishers" ref="eventPublishers" />
28 </bean>
29
30 <!-- Services -->
31 <bean id="testManagerService" class="org.argeo.slc.services.impl.TestManagerServiceImpl">
32 <constructor-arg ref="testResultDao" />
33 <constructor-arg ref="testRunDescriptorDao" />
34 <constructor-arg ref="slcExecutionDao" />
35 <constructor-arg ref="testResultCollectionDao" />
36 </bean>
37
38 <bean id="agentService" class="org.argeo.slc.services.impl.AgentServiceImpl">
39 <constructor-arg ref="slcAgentDescriptorDao" />
40 <constructor-arg ref="agentFactory" />
41 <property name="pingCycle" value="${slc.server.services.pingCycle}" />
42 <property name="securityService" ref="securityService" />
43 </bean>
44
45 <bean id="slcExecutionService" class="org.argeo.slc.services.impl.SlcExecutionServiceImpl">
46 <constructor-arg ref="slcExecutionDao" />
47 </bean>
48
49 </beans>