source: extensions/jiwigo/trunk/src/main/resources/application-context-service.xml

Last change on this file 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: 816 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="imageService" class="fr.mael.jiwigo.service.impl.ImageServiceImpl">
8                <property name="dao" ref="imageDao"/>
9        </bean>
10
11        <bean id="commentService" class="fr.mael.jiwigo.service.impl.CommentServiceImpl">
12                <property name="dao" ref="commentDao"/>
13        </bean>
14
15        <bean id="categoryService" class="fr.mael.jiwigo.service.impl.CategoryServiceImpl">
16                <property name="dao" ref="categoryDao"/>
17        </bean>
18
19        <bean id="tagService" class="fr.mael.jiwigo.service.impl.TagServiceImpl">
20                <property name="dao" ref="tagDao"/>
21        </bean>
22</beans>
Note: See TracBrowser for help on using the repository browser.