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"
5
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
7
<!-- AggregationStore -->
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"/>
15
<!-- AggregationService -->
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"/>
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"/>
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"/>
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"/>
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"/>
62
<property name="aggregationCache">
63
<ref bean="org.hisp.dhis.aggregation.impl.cache.AggregationCache"/>
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"/>
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"/>
b'\\ No newline at end of file'