Project

General

Profile

Download (4.06 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-4.3.xsd">
6

    
7
    <!--
8
        ===============================================================
9
        This is the configuration 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="type" value="XML" />
21
      <property name="jsonConfig" ref="jsonConfig" />
22
      <!--  <property name="xsl" value="humane.xsl" />  -->
23
      <property name="dataSourceProperties" ref="dataSourceProperties" />
24
    </bean>
25

    
26

    
27
    <bean name="**/name/* **/name" class="eu.etaxonomy.cdm.remote.view.JsonView">
28
      <property name="type" value="XML" />
29
      <property name="xsl" value="name.xsl" />
30
      <property name="jsonConfig" ref="jsonConfig" />
31
      <property name="dataSourceProperties" ref="dataSourceProperties" />
32
    </bean>
33

    
34
<!-- for statistics web service-->
35
    <bean name="**/statistic*/* **/statistic*" class="eu.etaxonomy.cdm.remote.view.JsonView">
36
      <property name="type" value="XML" />
37
      <property name="xsl" value="statistics.xsl" />
38
      <property name="jsonConfig" ref="jsonConfig" />
39
      <property name="dataSourceProperties" ref="dataSourceProperties" />
40
    </bean>
41

    
42
    <bean name="**/taxon/* **/taxon" class="eu.etaxonomy.cdm.remote.view.JsonView">
43
      <property name="type" value="XML" />
44
      <property name="jsonConfig" ref="jsonConfig" />
45
      <property name="dataSourceProperties" ref="dataSourceProperties" />
46
      <property name="xsl" value="taxon.xsl" />
47
    </bean>
48

    
49
     <bean name="**/name_catalogue/* **/name_catalogue" class="eu.etaxonomy.cdm.remote.view.JsonView">
50
      <property name="type" value="XML" />
51
      <property name="jsonConfig" ref="nameCatalogueJsonConfig" />
52
      <property name="dataSourceProperties" ref="dataSourceProperties" />
53
    </bean>
54
    
55
     <bean name="**/csv/* **/export" class="eu.etaxonomy.cdm.remote.view.JsonView">
56
      <property name="type" value="XML" />
57
      <property name="jsonConfig" ref="nameCatalogueJsonConfig" />
58
      <property name="dataSourceProperties" ref="dataSourceProperties" />
59
    </bean>
60

    
61
<bean name="**/occurrence_catalogue/* **/occurrence_catalogue" class="eu.etaxonomy.cdm.remote.view.JsonView">
62
      <property name="type" value="XML" />
63
      <property name="jsonConfig" ref="occurrenceCatalogueJsonConfig" />
64
      <property name="dataSourceProperties" ref="dataSourceProperties" />
65
    </bean> 
66

    
67
    <!-- taxonomy service -->
68
    <bean name="**/classification **/classification/* **/classification/**/*" class="eu.etaxonomy.cdm.remote.view.JsonView">
69
        <property name="type" value="XML" />
70
        <!--  <property name="xsl" value="humane.xsl" />  -->
71
        <property name="jsonConfig" ref="jsonConfigClassification" />
72
        <property name="dataSourceProperties" ref="dataSourceProperties" />
73
    </bean>
74

    
75
    <!-- portal service -->
76
    <bean name="**/portal/* **/portal/**/*" class="eu.etaxonomy.cdm.remote.view.JsonView">
77
        <property name="type" value="XML" />
78
        <!--  <property name="xsl" value="humane.xsl" />  -->
79
        <property name="jsonConfig" ref="jsonConfigPortal" />
80
        <property name="dataSourceProperties" ref="dataSourceProperties" />
81
    </bean>
82

    
83
    <!-- management service
84
    <bean name="/manager/*.xml /manager/**/*.xml" class="eu.etaxonomy.cdm.remote.view.JsonView">
85
        <property name="type" value="XML" />
86
    </bean>
87
    <bean name="/manager/*.json /manager/**/*.json" class="eu.etaxonomy.cdm.remote.view.JsonView">
88
    </bean>
89
    -->
90
</beans>
(9-9/9)