]> SALOME platform Git repositories - tools/siman.git/blobdiff - Workspace/Siman/src/spring/applicationContext.xml
Salome HOME
Siman codebase is refactored. Spring beans are introduced in the context.
[tools/siman.git] / Workspace / Siman / src / spring / applicationContext.xml
index d92fc4cfc6c9f61911e40d4b5bd77d89a9515961..df90319dd1779c58dfce9b8c101fb8b0be965819 100644 (file)
@@ -1,7 +1,146 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-       xsi:schemaLocation="http://www.springframework.org/schema/beans
-           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
+       xsi:schemaLocation="http://www.springframework.org/schema/beans  
+http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
+
+       <bean id="applicationSettings"
+               class="org.splat.simer.ApplicationSettings">
+               <property name="projectSettings" ref="projectSettings" />
+       </bean>
+
+       <bean id="importedStudy" class="org.splat.simer.admin.ImportedStudy"
+               scope="prototype" />
+
+       <bean id="startAction" class="org.splat.simer.StartAction"
+               scope="prototype">
+               <property name="applicationSettings" ref="applicationSettings" />
+               <property name="projectSettings" ref="projectSettings" />
+       </bean>
+       <bean id="connectionAction" class="org.splat.simer.ConnectionAction"
+               scope="prototype">
+       </bean>
+
+       <bean id="menuAction" class="org.splat.simer.MenuAction"
+               scope="prototype">
+       </bean>
+
+       <bean id="notYetImplementedAction"
+               class="org.splat.simer.NotYetImplementedAction" scope="prototype">
+       </bean>
+
+       <bean id="searchStudyAction"
+               class="org.splat.simer.SearchStudyAction" scope="prototype">
+               <property name="projectSettings" ref="projectSettings" />
+               <property name="searchService" ref="searchService" />
+       </bean>
+
+       <bean id="searchKnowledgeAction"
+               class="org.splat.simer.SearchKnowledgeAction" scope="prototype">
+               <property name="searchService" ref="searchService" />
+       </bean>
+
+       <bean id="searchDocumentAction"
+               class="org.splat.simer.SearchDocumentAction" scope="prototype">
+       </bean>
+
+       <bean id="displayStudyStepAction"
+               class="org.splat.simer.DisplayStudyStepAction" scope="prototype">
+       </bean>
+
+       <bean id="studyPropertiesAction"
+               class="org.splat.simer.StudyPropertiesAction" scope="prototype">
+               <property name="studyService" ref="studyService" />
+       </bean>
+
+       <bean id="displayKnowledgeAction"
+               class="org.splat.simer.DisplayKnowledgeAction" scope="prototype">
+       </bean>
+
+       <bean id="editStudyAction" class="org.splat.simer.EditStudyAction"
+               scope="prototype">
+               <property name="studyService" ref="studyService" />
+       </bean>
+
+       <bean id="newScenarioAction"
+               class="org.splat.simer.NewScenarioAction" scope="prototype">
+               <property name="projectElementService"
+                       ref="projectElementService" />
+               <property name="studyService" ref="studyService" />
+       </bean>
+
+       <bean id="editScenarioPropertiesAction"
+               class="org.splat.simer.EditScenarioPropertiesAction"
+               scope="prototype">
+               <property name="projectElementService"
+                       ref="projectElementService" />
+               <property name="scenarioService" ref="scenarioService" />
+       </bean>
+
+       <bean id="editSimulationContextAction"
+               class="org.splat.simer.EditSimulationContextAction"
+               scope="prototype">
+               <property name="stepService" ref="stepService" />
+               <property name="studyService" ref="studyService" />
+       </bean>
+
+       <bean id="uploadAction" class="org.splat.simer.UploadAction"
+               scope="prototype">
+       </bean>
+
+       <bean id="importDocumentAction"
+               class="org.splat.simer.ImportDocumentAction" scope="prototype">
+               <property name="projectSettings" ref="projectSettings" />
+               <property name="publicationService" ref="publicationService" />
+       </bean>
+
+       <bean id="versionDocumentAction"
+               class="org.splat.simer.VersionDocumentAction" scope="prototype">
+               <property name="projectSettings" ref="projectSettings" />
+               <property name="publicationService" ref="publicationService" />
+       </bean>
+
+       <bean id="editDocumentAction"
+               class="org.splat.simer.EditDocumentAction" scope="prototype">
+               <property name="publicationService" ref="publicationService" />
+       </bean>
+
+       <bean id="editKnowledgeElementAction"
+               class="org.splat.simer.EditKnowledgeElementAction"
+               scope="prototype">
+               <property name="knowledgeElementService"
+                       ref="knowledgeElementService" />
+               <property name="scenarioService" ref="scenarioService" />
+       </bean>
+
+       <bean id="databaseIndexingAction"
+               class="org.splat.simer.admin.DatabaseIndexingAction"
+               scope="prototype">
+               <property name="importedStudy" ref="importedStudy" />
+               <property name="searchService" ref="searchService" />
+       </bean>
+
+       <bean id="importUserAction"
+               class="org.splat.simer.admin.ImportUserAction" scope="prototype">
+       </bean>
+
+       <bean id="simulationContextAction"
+               class="org.splat.simer.admin.SimulationContextAction"
+               scope="prototype">
+               <property name="searchService" ref="searchService" />
+               <property name="projectSettings" ref="projectSettings" />
+       </bean>
+
+       <bean id="knowledgeElementAction"
+               class="org.splat.simer.admin.KnowledgeElementAction"
+               scope="prototype">
+       </bean>
+
+       <bean id="saveDocumentAction"
+               class="org.splat.module.SaveDocumentAction" scope="prototype">
+               <property name="publicationService" ref="publicationService" />
+               <property name="scenarioService" ref="scenarioService" />
+               <property name="stepService" ref="stepService" />
+       </bean>
+
 </beans>
-  
\ No newline at end of file