]> SALOME platform Git repositories - tools/siman.git/blob - Workspace/Siman/src/spring/applicationContext.xml
Salome HOME
Beans initialization is fixed. Document can be added to study now.
[tools/siman.git] / Workspace / Siman / src / spring / applicationContext.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         xsi:schemaLocation="http://www.springframework.org/schema/beans  
5 http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
6
7         <bean id="applicationSettings"
8                 class="org.splat.simer.ApplicationSettings">
9                 <property name="projectSettings" ref="projectSettings" />
10         </bean>
11
12         <bean id="importedStudy" class="org.splat.simer.admin.ImportedStudy"
13                 scope="prototype" />
14
15         <bean id="openStudy" class="org.splat.simer.OpenStudy"
16                 scope="prototype">
17                 <property name="projectElementService"
18                         ref="projectElementService" />
19                 <property name="projectSettings" ref="projectSettings" />
20                 <property name="publicationService" ref="publicationService" />
21                 <property name="scenarioService" ref="scenarioService" />
22                 <property name="stepService" ref="stepService" />
23         </bean>
24
25         <bean id="openKnowledge" class="org.splat.simer.OpenKnowledge"
26                 scope="prototype">
27                 <property name="projectElementService"
28                         ref="projectElementService" />
29                 <property name="projectSettings" ref="projectSettings" />
30         </bean>
31
32         <bean id="baseAction" class="org.splat.simer.Action"
33                 scope="prototype">
34                 <property name="openStudy" ref="openStudy" />
35                 <property name="openKnowledge" ref="openKnowledge" />
36         </bean>
37
38         <bean id="startAction" class="org.splat.simer.StartAction"
39                 scope="prototype">
40                 <property name="applicationSettings" ref="applicationSettings" />
41                 <property name="projectSettings" ref="projectSettings" />
42         </bean>
43         <bean id="connectionAction" class="org.splat.simer.ConnectionAction"
44                 scope="prototype">
45         </bean>
46
47         <bean id="menuAction" class="org.splat.simer.MenuAction"
48                 scope="prototype">
49         </bean>
50
51         <bean id="notYetImplementedAction"
52                 class="org.splat.simer.NotYetImplementedAction" scope="prototype">
53         </bean>
54
55         <bean id="searchStudyAction"
56                 class="org.splat.simer.SearchStudyAction" scope="prototype">
57                 <property name="projectSettings" ref="projectSettings" />
58                 <property name="searchService" ref="searchService" />
59         </bean>
60
61         <bean id="searchKnowledgeAction"
62                 class="org.splat.simer.SearchKnowledgeAction" scope="prototype">
63                 <property name="searchService" ref="searchService" />
64         </bean>
65
66         <bean id="searchDocumentAction"
67                 class="org.splat.simer.SearchDocumentAction" scope="prototype">
68         </bean>
69
70         <bean id="displayStudyStepAction" parent="baseAction"
71                 class="org.splat.simer.DisplayStudyStepAction" scope="prototype">
72                 <property name="studyService" ref="studyService" />
73         </bean>
74
75         <bean id="studyPropertiesAction"
76                 class="org.splat.simer.StudyPropertiesAction" scope="prototype">
77                 <property name="studyService" ref="studyService" />
78         </bean>
79
80         <bean id="displayKnowledgeAction"
81                 class="org.splat.simer.DisplayKnowledgeAction" scope="prototype">
82                 <property name="knowledgeElementService"
83                         ref="knowledgeElementService" />
84         </bean>
85
86         <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
87                 scope="prototype">
88                 <property name="studyService" ref="studyService" />
89         </bean>
90
91         <bean id="newStudyAction" class="org.splat.simer.NewStudyAction"
92                 parent="baseAction" scope="prototype">
93                 <property name="studyService" ref="studyService" />
94         </bean>
95
96         <bean id="newScenarioAction"
97                 class="org.splat.simer.NewScenarioAction" scope="prototype">
98                 <property name="projectElementService"
99                         ref="projectElementService" />
100                 <property name="studyService" ref="studyService" />
101         </bean>
102
103         <bean id="editScenarioPropertiesAction"
104                 class="org.splat.simer.EditScenarioPropertiesAction"
105                 scope="prototype">
106                 <property name="projectElementService"
107                         ref="projectElementService" />
108                 <property name="scenarioService" ref="scenarioService" />
109         </bean>
110
111         <bean id="editSimulationContextAction"
112                 class="org.splat.simer.EditSimulationContextAction"
113                 scope="prototype">
114                 <property name="stepService" ref="stepService" />
115                 <property name="studyService" ref="studyService" />
116         </bean>
117
118         <bean id="uploadAction" class="org.splat.simer.UploadAction"
119                 scope="prototype">
120         </bean>
121
122         <bean id="importDocumentAction"
123                 class="org.splat.simer.ImportDocumentAction" scope="prototype">
124                 <property name="stepService" ref="stepService" />
125                 <property name="projectSettings" ref="projectSettings" />
126                 <property name="publicationService" ref="publicationService" />
127         </bean>
128
129         <bean id="versionDocumentAction"
130                 class="org.splat.simer.VersionDocumentAction" scope="prototype">
131                 <property name="projectSettings" ref="projectSettings" />
132                 <property name="publicationService" ref="publicationService" />
133                 <property name="stepService" ref="stepService" />
134         </bean>
135
136         <bean id="editDocumentAction"
137                 class="org.splat.simer.EditDocumentAction" scope="prototype">
138                 <property name="publicationService" ref="publicationService" />
139         </bean>
140
141         <bean id="editKnowledgeElementAction"
142                 class="org.splat.simer.EditKnowledgeElementAction"
143                 scope="prototype">
144                 <property name="knowledgeElementService"
145                         ref="knowledgeElementService" />
146                 <property name="scenarioService" ref="scenarioService" />
147         </bean>
148
149         <bean id="databaseIndexingAction"
150                 class="org.splat.simer.admin.DatabaseIndexingAction"
151                 scope="prototype">
152                 <property name="studyService" ref="studyService" />
153                 <property name="importedStudy" ref="importedStudy" />
154                 <property name="searchService" ref="searchService" />
155         </bean>
156
157         <bean id="importUserAction"
158                 class="org.splat.simer.admin.ImportUserAction" scope="prototype">
159         </bean>
160
161         <bean id="simulationContextAction"
162                 class="org.splat.simer.admin.SimulationContextAction"
163                 scope="prototype">
164                 <property name="knowledgeElementService"
165                         ref="knowledgeElementService" />
166                 <property name="searchService" ref="searchService" />
167                 <property name="projectSettings" ref="projectSettings" />
168         </bean>
169
170         <bean id="knowledgeElementAction"
171                 class="org.splat.simer.admin.KnowledgeElementAction"
172                 scope="prototype">
173         </bean>
174
175         <bean id="saveDocumentAction"
176                 class="org.splat.module.SaveDocumentAction" scope="prototype">
177                 <property name="publicationService" ref="publicationService" />
178                 <property name="scenarioService" ref="scenarioService" />
179                 <property name="stepService" ref="stepService" />
180         </bean>
181
182 </beans>