]> git.argeo.org Git - gpl/argeo-slc.git/blob - server/org.argeo.slc.siteserver/bundles/org.argeo.slc.server.services/META-INF/spring/services.xml
e93f04885e8b72d5945a6fc2a39e8fa5afa84520
[gpl/argeo-slc.git] / server / org.argeo.slc.siteserver / bundles / 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 <!-- Services -->
11 <bean id="testManagerService" class="org.argeo.slc.services.impl.test.TestManagerServiceImpl">
12 <constructor-arg ref="testResultDao" />
13 <constructor-arg ref="testRunDescriptorDao" />
14 <constructor-arg ref="slcExecutionDao" />
15 <constructor-arg ref="testResultCollectionDao" />
16 </bean>
17
18 <bean id="agentService" class="org.argeo.slc.services.impl.runtime.AgentServiceImpl">
19 <constructor-arg ref="slcAgentDescriptorDao" />
20 </bean>
21
22 <bean id="slcExecutionService" class="org.argeo.slc.services.impl.process.SlcExecutionServiceImpl">
23 <constructor-arg ref="slcExecutionDao" />
24 </bean>
25
26 <!-- Services transactions
27 <aop:config>
28 <aop:pointcut id="serviceMethods"
29 expression="execution(* org.argeo.slc.services.test.TestManagerService.*(..))" />
30 <aop:advisor advice-ref="serviceAdvice" pointcut-ref="serviceMethods" />
31 </aop:config>
32
33 <tx:advice id="serviceAdvice" transaction-manager="transactionManager">
34 <tx:attributes>
35 <tx:method name="*" propagation="REQUIRED" />
36 </tx:attributes>
37 </tx:advice>
38 -->
39 </beans>