Project

General

Profile

Download (1.35 KB) Statistics
| Branch: | Tag: | Revision:
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
5
    http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
6
    
7
    <!-- 
8
        ===============================================================
9
        This is the configuaration file for the 
10
        eu.etaxonomy.cdm.remote.view.PatternViewResolver
11
        ===============================================================
12
        
13
    	- bean names are ant style patterns
14
    	- the eu.etaxonomy.cdm.remote.view.PatternViewResolver 
15
    	  must be used to resolve patterns used as bean names
16
    -->
17
    
18
    <!-- entity services -->
19
    <bean name="**/*" class="eu.etaxonomy.cdm.remote.view.JsonView">
20
    	<property name="jsonConfig" ref="jsonConfig" />
21
    </bean>
22
    
23
    <!-- taxonomy service -->
24
    <bean name="**/classification **/classification/* **/classification/**/*" class="eu.etaxonomy.cdm.remote.view.JsonView">
25
        <property name="jsonConfig" ref="jsonConfigClassification" />
26
    </bean>
27
    
28
    <!-- portal service -->
29
    <bean name="**/portal/* **/portal/**/*" class="eu.etaxonomy.cdm.remote.view.JsonView">
30
        <property name="jsonConfig" ref="jsonConfigPortal" />
31
    </bean>
32
</beans>
(5-5/8)