Salome HOME
Refactoring of Database, replacing SQL by DAOs calls. Methods for search by criteria...
[tools/siman.git] / Workspace / Siman-Common / src / spring / businessServiceContext.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"
4         xmlns:aop="http://www.springframework.org/schema/aop"
5         xmlns:tx="http://www.springframework.org/schema/tx"
6         xsi:schemaLocation="
7 http://www.springframework.org/schema/beans
8 http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
9 http://www.springframework.org/schema/aop
10 http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
11 http://www.springframework.org/schema/tx
12 http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">
13
14         <bean id="projectElementService"
15                 class="org.splat.service.ProjectElementServiceImpl">
16                 <property name="projectSettings" ref="projectSettings" />
17         </bean>
18
19         <bean id="documentTypeService"
20                 class="org.splat.service.DocumentTypeServiceImpl">
21                 <property name="projectSettings" ref="projectSettings" />
22         </bean>
23
24         <bean id="documentService"
25                 class="org.splat.service.DocumentServiceImpl">
26                 <property name="projectSettings" ref="projectSettings" />
27                 <property name="studyService" ref="studyService" />
28                 <property name="documentDAO" ref="documentDAO" />
29         </bean>
30
31         <bean id="knowledgeElementService"
32                 class="org.splat.service.KnowledgeElementServiceImpl">
33                 <property name="indexService" ref="indexService" />
34                 <property name="knowledgeElementDAO" ref="knowledgeElementDAO" />
35         </bean>
36
37         <bean id="publicationService"
38                 class="org.splat.service.PublicationServiceImpl">
39                 <property name="documentTypeService" ref="documentTypeService" />
40                 <property name="projectElementService"
41                         ref="projectElementService" />
42                 <property name="stepService" ref="stepService" />
43                 <property name="studyService" ref="studyService" />
44         </bean>
45
46         <bean id="scenarioService"
47                 class="org.splat.service.ScenarioServiceImpl">
48                 <property name="indexService" ref="indexService" />
49                 <property name="projectElementService"
50                         ref="projectElementService" />
51                 <property name="publicationService" ref="publicationService" />
52                 <property name="stepService" ref="stepService" />
53         </bean>
54
55         <bean id="searchService"
56                 class="org.splat.service.SearchServiceImpl">
57                 <property name="indexService" ref="indexService" />
58                 <property name="repositoryService" ref="repositoryService" />
59         </bean>
60
61         <bean id="stepService" class="org.splat.service.StepServiceImpl">
62                 <property name="indexService" ref="indexService" />
63                 <property name="documentService" ref="documentService" />
64                 <property name="simulationContextService"
65                         ref="simulationContextService" />
66         </bean>
67
68         <bean id="simulationContextService"
69                 class="org.splat.service.SimulationContextServiceImpl">
70                 <property name="simulationContextDAO"
71                         ref="simulationContextDAO" />
72                 <property name="simulationContextTypeDAO"
73                         ref="simulationContextTypeDAO" />
74         </bean>
75
76         <bean id="studyService"
77                 class="org.splat.service.StudyServiceImpl">
78                 <property name="indexService" ref="indexService" />
79                 <property name="projectElementService"
80                         ref="projectElementService" />
81                 <property name="projectSettings" ref="projectSettings" />
82                 <property name="scenarioService" ref="scenarioService" />
83         <property name="stepService" ref="stepService" />
84         <property name="studyDAO" ref="studyDAO" />
85         </bean>
86
87 </beans>