source: ether_megapoli/trunk/web/src/json/json-context.xml @ 154

Last change on this file since 154 was 154, checked in by vmipsl, 13 years ago

Import medias files and cleanup

File size: 839 bytes
Line 
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       xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
5
6    <bean id="jsonHelper" class="com.ether.JSONHelperImpl">
7        <property name="mapping">
8            <map>
9                                <entry key="com.medias.database.objects.Plateforme" value-ref="plateformJsonSerializer"/>
10                                <entry key="com.medias.database.objects.Parametre" value-ref="parameterJsonSerializer"/>
11            </map>
12        </property>
13    </bean>
14
15    <bean id="plateformJsonSerializer" class="json.serializers.PlateformJsonSerializer"/>
16    <bean id="parameterJsonSerializer" class="json.serializers.ParameterJsonSerializer"/>
17</beans>
Note: See TracBrowser for help on using the repository browser.