]> git.argeo.org Git - gpl/argeo-slc.git/blob - eclipse/plugins/org.argeo.slc.client.ui/META-INF/spring/osgi.xml
tests for solving the hibernate transaction problem
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.ui / META-INF / spring / osgi.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans:beans xmlns="http://www.springframework.org/schema/osgi"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"
4 xsi:schemaLocation="http://www.springframework.org/schema/osgi
5 http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd
6 http://www.springframework.org/schema/beans
7 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
8
9 <!-- DAO -->
10 <reference id="testResultCollectionDao"
11 interface="org.argeo.slc.dao.test.tree.TreeTestResultCollectionDao" />
12
13 <!-- Services -->
14 <reference id="slcExecutionService" interface="org.argeo.slc.services.SlcExecutionService" />
15 <reference id="testManagerService" interface="org.argeo.slc.services.TestManagerService" />
16
17 <!-- Session (to insure transactional management) -->
18 <!-- <reference id="sessionFactory" interface="org.hibernate.SessionFactory"
19 /> -->
20
21 <!-- TODO : what is it for ? -->
22 <list id="slcAgents" interface="org.argeo.slc.runtime.SlcAgent" />
23
24 <!-- Proxy object to try solving transaction & session problem caused by
25 using hibernate -->
26 <reference id="processListTableContent" interface="org.argeo.slc.client.core.TableContent" />
27
28 <!-- Listeners used by the execution modules -->
29 <service ref="testManagerServiceAdapter"
30 interface="org.argeo.slc.core.test.tree.TreeTestResultListener" />
31 <service ref="slcExecutionServiceAdapter" interface="org.argeo.slc.process.SlcExecutionNotifier" />
32
33 </beans:beans>