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"
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">
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
21 <bean id=
"testManagerService" class=
"org.argeo.slc.services.impl.test.TestManagerServiceImpl">
22 <constructor-arg ref=
"testResultDao" />
23 <constructor-arg ref=
"testRunDescriptorDao" />
24 <constructor-arg ref=
"slcExecutionDao" />
25 <constructor-arg ref=
"testResultCollectionDao" />
28 <bean id=
"agentService" class=
"org.argeo.slc.services.impl.runtime.AgentServiceImpl">
29 <constructor-arg ref=
"slcAgentDescriptorDao" />
30 <constructor-arg ref=
"agentFactory" />
31 <property name=
"pingCycle" value=
"${slc.server.services.pingCycle}" />
34 <bean id=
"slcExecutionService"
35 class=
"org.argeo.slc.services.impl.process.SlcExecutionServiceImpl">
36 <constructor-arg ref=
"slcExecutionDao" />
40 Services transactions <aop:config> <aop:pointcut id="serviceMethods"
41 expression="execution(*
42 org.argeo.slc.services.test.TestManagerService.*(..))" /> <aop:advisor
43 advice-ref="serviceAdvice" pointcut-ref="serviceMethods" />
44 </aop:config> <tx:advice id="serviceAdvice"
45 transaction-manager="transactionManager"> <tx:attributes> <tx:method
46 name="*" propagation="REQUIRED" /> </tx:attributes> </tx:advice>