source: extensions/jiwigo/trunk/src/main/resources/application-context-dao.xml @ 9921

Last change on this file since 9921 was 9921, checked in by mlg, 13 years ago

Adds spring for the dependency injection
Deletion of jdom (not useful just for a class that manipulates a simple XML file)

File size: 833 bytes
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<beans xmlns="http://www.springframework.org/schema/beans"
3xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4xsi:schemaLocation="http://www.springframework.org/schema/beans
5http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
6
7        <bean id="imageDao" class="fr.mael.jiwigo.dao.impl.ImageDaoImpl">
8                <property name="sessionManager" ref="sessionManager"/>
9        </bean>
10
11        <bean id="commentDao" class="fr.mael.jiwigo.dao.impl.CommentDaoImpl">
12                <property name="sessionManager" ref="sessionManager"/>
13        </bean>
14
15        <bean id="categoryDao" class="fr.mael.jiwigo.dao.impl.CategoryDaoImpl">
16                <property name="sessionManager" ref="sessionManager"/>
17        </bean>
18
19        <bean id="tagDao" class="fr.mael.jiwigo.dao.impl.TagDaoImpl">
20                <property name="sessionManager" ref="sessionManager"/>
21        </bean>
22</beans>
Note: See TracBrowser for help on using the repository browser.