Salome HOME
Siman codebase is refactored. Spring beans are introduced in the context.
[tools/siman.git] / Workspace / Siman-Common / src / spring / daoServiceContext.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="genericDAO" class="org.splat.dal.dao.kernel.GenericDAOImpl"
15                 abstract="true">
16                 <property name="sessionFactory" ref="simanSessionFactory" />
17         </bean>
18         <bean id="knowledgeElementDAO" parent="genericDAO"
19                 class="org.splat.dal.dao.som.KnowledgeElementDAOImpl">
20         </bean>
21 </beans>