~mortenoh/+junk/dhis2-detailed-import-export

« back to all changes in this revision

Viewing changes to local/in/dhis-service-aggregationengine-default/src/main/resources/META-INF/dhis/beans.xml

  • Committer: larshelge at gmail
  • Date: 2009-03-03 16:46:36 UTC
  • Revision ID: larshelge@gmail.com-20090303164636-2sjlrquo7ib1gf7r
Initial check-in

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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="
 
5
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
 
6
  
 
7
        <!-- AggregationStore -->
 
8
        
 
9
        <bean id="org.hisp.dhis.aggregation.AggregationStore"
 
10
                class="org.hisp.dhis.aggregation.jdbc.JdbcAggregationStore">
 
11
                <property name="statementManager"
 
12
                        ref="org.hisp.dhis.jdbc.StatementManager"/>
 
13
        </bean>
 
14
        
 
15
        <!-- AggregationService -->
 
16
        
 
17
  <bean id="org.hisp.dhis.aggregation.AggregationService"
 
18
    class="org.hisp.dhis.aggregation.impl.DefaultAggregationService">
 
19
    <property name="sumIntDataElementAggregation"
 
20
      ref="org.hisp.dhis.aggregation.impl.dataelement.SumIntDataElementAggregation"/>
 
21
    <property name="sumBoolDataElementAggregation"
 
22
      ref="org.hisp.dhis.aggregation.impl.dataelement.SumBoolDataElementAggregation"/>
 
23
    <property name="averageIntDataElementAggregation"
 
24
      ref="org.hisp.dhis.aggregation.impl.dataelement.AverageIntDataElementAggregation"/>
 
25
    <property name="averageBoolDataElementAggregation"
 
26
      ref="org.hisp.dhis.aggregation.impl.dataelement.AverageBoolDataElementAggregation"/>
 
27
                <property name="indicatorAggregation"
 
28
                        ref="org.hisp.dhis.aggregation.impl.indicator.IndicatorAggregation"/>
 
29
  </bean>
 
30
  
 
31
  <bean id="org.hisp.dhis.aggregation.impl.cache.AggregationCache"
 
32
    class="org.hisp.dhis.aggregation.impl.cache.MemoryAggregationCache">
 
33
    <property name="organisationUnitStore"
 
34
      ref="org.hisp.dhis.organisationunit.OrganisationUnitStore"/>
 
35
                <property name="periodService"
 
36
                        ref="org.hisp.dhis.period.PeriodService"/>
 
37
                <property name="aggregationService"
 
38
                        ref="org.hisp.dhis.aggregation.AggregationService"/>
 
39
  </bean>
 
40
        
 
41
  <bean id="org.hisp.dhis.aggregation.impl.dataelement.SumIntDataElementAggregation"
 
42
    class="org.hisp.dhis.aggregation.impl.dataelement.SumIntDataElementAggregation">
 
43
    <property name="aggregationStore"
 
44
      ref="org.hisp.dhis.aggregation.AggregationStore"/>
 
45
    <property name="aggregationCache"
 
46
      ref="org.hisp.dhis.aggregation.impl.cache.AggregationCache"/>
 
47
  </bean>
 
48
  
 
49
  <bean id="org.hisp.dhis.aggregation.impl.dataelement.SumBoolDataElementAggregation"
 
50
    class="org.hisp.dhis.aggregation.impl.dataelement.SumBoolDataElementAggregation">
 
51
    <property name="aggregationStore"
 
52
      ref="org.hisp.dhis.aggregation.AggregationStore"/>
 
53
    <property name="aggregationCache"
 
54
      ref="org.hisp.dhis.aggregation.impl.cache.AggregationCache"/>
 
55
  </bean>
 
56
  
 
57
  <bean id="org.hisp.dhis.aggregation.impl.dataelement.AverageIntDataElementAggregation"
 
58
    class="org.hisp.dhis.aggregation.impl.dataelement.AverageIntDataElementAggregation">
 
59
    <property name="aggregationStore">
 
60
      <ref bean="org.hisp.dhis.aggregation.AggregationStore"/>
 
61
    </property>
 
62
    <property name="aggregationCache">
 
63
      <ref bean="org.hisp.dhis.aggregation.impl.cache.AggregationCache"/>
 
64
    </property>
 
65
  </bean>
 
66
  
 
67
  <bean id="org.hisp.dhis.aggregation.impl.dataelement.AverageBoolDataElementAggregation"
 
68
    class="org.hisp.dhis.aggregation.impl.dataelement.AverageBoolDataElementAggregation">
 
69
    <property name="aggregationStore"
 
70
      ref="org.hisp.dhis.aggregation.AggregationStore"/>
 
71
    <property name="aggregationCache"
 
72
      ref="org.hisp.dhis.aggregation.impl.cache.AggregationCache"/>
 
73
  </bean>
 
74
        
 
75
        <bean id="org.hisp.dhis.aggregation.impl.indicator.IndicatorAggregation"
 
76
                class="org.hisp.dhis.aggregation.impl.indicator.IndicatorAggregation">
 
77
                <property name="dataElementService"
 
78
                        ref="org.hisp.dhis.dataelement.DataElementService"/>
 
79
                <property name="dataElementCategoryOptionComboService"
 
80
                        ref="org.hisp.dhis.dataelement.DataElementCategoryOptionComboService"/>
 
81
                <property name="aggregationCache"
 
82
      ref="org.hisp.dhis.aggregation.impl.cache.AggregationCache"/>    
 
83
        </bean>
 
84
  
 
85
</beans>
 
 
b'\\ No newline at end of file'