Salome HOME
Copyrights update 2015.
[tools/siman.git] / Workspace / Siman-WS / 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         xmlns:aop="http://www.springframework.org/schema/aop"
5         xmlns:context="http://www.springframework.org/schema/context"
6         xsi:schemaLocation="http://www.springframework.org/schema/beans  
7 http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
8 http://www.springframework.org/schema/aop  
9 http://www.springframework.org/schema/aop/spring-aop-3.0.xsd
10 http://www.springframework.org/schema/context
11 http://www.springframework.org/schema/context/spring-context-3.0.xsd">
12
13
14         <context:property-placeholder
15                 location="classpath:siman.properties,classpath:jdbc.properties"
16                 ignore-unresolvable="true" />
17
18     <!-- configuration i18n -->
19     <bean id="i18nUtils" class="org.splat.i18n.I18nUtils">
20         <property name="resourceBundleMessageSource"
21             ref="messageSource" />
22     </bean>
23
24     <bean id="messageSource"
25         class="org.springframework.context.support.ResourceBundleMessageSource">
26         <property name="basenames">
27             <list>
28                 <value>conf/log-messages</value>
29                 <value>som</value>
30                 <value>labels</value>
31             </list>
32         </property>
33     </bean>
34     
35     <bean id="SimanSalomeService" class="org.splat.ws_server.service.salome.SimanSalomeServiceImpl">
36         <property name="scenarioService" ref="scenarioService" />
37         <property name="repositoryService" ref="repositoryService" />
38         <property name="projectSettingsService" ref="projectSettings" />
39     </bean>
40
41 </beans>