source: geisa/web/src/json/json-context.xml @ 390

Last change on this file since 390 was 390, checked in by npipsl, 12 years ago

Création du projet GEISA

File size: 826 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.ether.Plateform" value-ref="plateformJsonSerializer"/>
10                <entry key="com.ether.Parameter" value-ref="parameterJsonSerializer"/>
11            </map>
12        </property>
13    </bean>
14
15    <bean id="parameterJsonSerializer" class="json.serializers.ParameterJsonSerializer"/>
16    <bean id="plateformJsonSerializer" class="json.serializers.PlateformJsonSerializer"/>
17</beans>
Note: See TracBrowser for help on using the repository browser.