------------------------------------------------------------ revno: 2085 committer: Jo Størset <[email protected]> branch nick: dhis2 timestamp: Wed 2010-11-17 00:35:39 +0530 message: Formatting modified: dhis-2/dhis-web/dhis-web-api/src/main/resources/META-INF/dhis/beans.xml
-- lp:dhis2 https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk Your team DHIS 2 developers is subscribed to branch lp:dhis2. To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-web/dhis-web-api/src/main/resources/META-INF/dhis/beans.xml' --- dhis-2/dhis-web/dhis-web-api/src/main/resources/META-INF/dhis/beans.xml 2010-11-16 18:26:11 +0000 +++ dhis-2/dhis-web/dhis-web-api/src/main/resources/META-INF/dhis/beans.xml 2010-11-16 19:05:39 +0000 @@ -1,99 +1,99 @@ <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation=" + xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"> - <!-- Resource --> - - <bean id="org.hisp.dhis.web.api.resources.MobileResource" class="org.hisp.dhis.web.api.resources.MobileResource" - scope="prototype"> - <property name="facilityReportingService" ref="org.hisp.dhis.web.api.service.FacilityReportingService" /> - <property name="iactivityValueService" ref="org.hisp.dhis.web.api.service.IActivityValueService" /> - <property name="programService" ref="org.hisp.dhis.web.api.service.IProgramService" /> - <property name="activityPlanService" ref="org.hisp.dhis.web.api.service.IActivityPlanService" /> - <property name="currentUserService" ref="org.hisp.dhis.user.CurrentUserService" /> - </bean> - - <!-- Services --> - - <bean id="org.hisp.dhis.web.api.service.ActivityPlanModelService" class="org.hisp.dhis.web.api.service.ActivityPlanModelService"> - <property name="activityPlanService" ref="org.hisp.dhis.activityplan.ActivityPlanService" /> - </bean> - - <bean id="org.hisp.dhis.web.api.service.IActivityPlanService" class="org.hisp.dhis.web.api.service.DefaultActivityPlanService"> - <property name="activityPlanService" ref="org.hisp.dhis.activityplan.ActivityPlanService" /> - <property name="patientAttValueService" ref="org.hisp.dhis.patientattributevalue.PatientAttributeValueService" /> - <property name="patientAttService" ref="org.hisp.dhis.patient.PatientAttributeService" /> - <property name="currentUserService" ref="org.hisp.dhis.user.CurrentUserService" /> - </bean> - - <bean id="org.hisp.dhis.web.api.service.IProgramService" class="org.hisp.dhis.web.api.service.DefaultProgramService"> - <property name="programService" ref="org.hisp.dhis.program.ProgramService" /> - <property name="i18nService" ref="org.hisp.dhis.i18n.I18nService" /> - <property name="currentUserService" ref="org.hisp.dhis.user.CurrentUserService" /> - </bean> - - <bean id="org.hisp.dhis.web.api.service.FacilityReportingService" class="org.hisp.dhis.web.api.service.FacilityReportingServiceImpl"> - <property name="dataSetService" ref="org.hisp.dhis.dataset.DataSetService" /> - <property name="i18nService" ref="org.hisp.dhis.i18n.I18nService" /> - <property name="periodService" ref="org.hisp.dhis.web.api.service.IPeriodService" /> - <property name="categoryService" ref="org.hisp.dhis.dataelement.DataElementCategoryService" /> - <property name="dataValueService" ref="org.hisp.dhis.datavalue.DataValueService" /> - </bean> - - <bean id="org.hisp.dhis.web.api.service.IActivityValueService" class="org.hisp.dhis.web.api.service.DefaultActivityValueService"> - <property name="programStageInstanceService"> - <ref bean="org.hisp.dhis.program.ProgramStageInstanceService" /> - </property> - <property name="categoryService"> - <ref bean="org.hisp.dhis.dataelement.DataElementCategoryService" /> - </property> - <property name="dataValueService"> - <ref bean="org.hisp.dhis.patientdatavalue.PatientDataValueService" /> - </property> - <property name="currentUserService"> - <ref bean="org.hisp.dhis.user.CurrentUserService" /> - </property> - </bean> - - <bean id="org.hisp.dhis.web.api.service.IPeriodService" class="org.hisp.dhis.web.api.service.DefaultPeriodService"> - <property name="periodService"> - <ref bean="org.hisp.dhis.period.PeriodService" /> - </property> - </bean> - - <!-- Serialization writers and readers --> - - <bean id="org.hisp.dhis.web.api.provider.DataSerializableProvider" class="org.hisp.dhis.web.api.provider.DataSerializableProvider" - scope="singleton" /> - - <bean id="org.hisp.dhis.web.api.consumer.DataSetValueConsumer" class="org.hisp.dhis.web.api.provider.DataSetValueConsumer" - scope="singleton" /> - - <bean id="org.hisp.dhis.web.api.consumer.ActivityValueConsumer" class="org.hisp.dhis.web.api.provider.ActivityValueConsumer" - scope="singleton" /> - - <!-- ImportDataValue beans --> - - <bean id="org.hisp.dhis.web.api.action.ImportDataValueAction" class="org.hisp.dhis.web.api.action.ImportDataValueAction"> - - <property name="programStageInstanceService"> - <ref bean="org.hisp.dhis.program.ProgramStageInstanceService" /> - </property> - <property name="patientDataValueService"> - <ref bean="org.hisp.dhis.patientdatavalue.PatientDataValueService" /> - </property> - <property name="dataElementService"> - <ref bean="org.hisp.dhis.dataelement.DataElementService" /> - </property> - <property name="orgUnitService"> - <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService" /> - </property> - <property name="dataElementCategoryService"> - <ref bean="org.hisp.dhis.dataelement.DataElementCategoryService" /> - </property> - - </bean> + <!-- Resource --> + + <bean id="org.hisp.dhis.web.api.resources.MobileResource" class="org.hisp.dhis.web.api.resources.MobileResource" + scope="prototype"> + <property name="facilityReportingService" ref="org.hisp.dhis.web.api.service.FacilityReportingService" /> + <property name="iactivityValueService" ref="org.hisp.dhis.web.api.service.IActivityValueService" /> + <property name="programService" ref="org.hisp.dhis.web.api.service.IProgramService" /> + <property name="activityPlanService" ref="org.hisp.dhis.web.api.service.IActivityPlanService" /> + <property name="currentUserService" ref="org.hisp.dhis.user.CurrentUserService" /> + </bean> + + <!-- Services --> + + <bean id="org.hisp.dhis.web.api.service.ActivityPlanModelService" class="org.hisp.dhis.web.api.service.ActivityPlanModelService"> + <property name="activityPlanService" ref="org.hisp.dhis.activityplan.ActivityPlanService" /> + </bean> + + <bean id="org.hisp.dhis.web.api.service.IActivityPlanService" class="org.hisp.dhis.web.api.service.DefaultActivityPlanService"> + <property name="activityPlanService" ref="org.hisp.dhis.activityplan.ActivityPlanService" /> + <property name="patientAttValueService" ref="org.hisp.dhis.patientattributevalue.PatientAttributeValueService" /> + <property name="patientAttService" ref="org.hisp.dhis.patient.PatientAttributeService" /> + <property name="currentUserService" ref="org.hisp.dhis.user.CurrentUserService" /> + </bean> + + <bean id="org.hisp.dhis.web.api.service.IProgramService" class="org.hisp.dhis.web.api.service.DefaultProgramService"> + <property name="programService" ref="org.hisp.dhis.program.ProgramService" /> + <property name="i18nService" ref="org.hisp.dhis.i18n.I18nService" /> + <property name="currentUserService" ref="org.hisp.dhis.user.CurrentUserService" /> + </bean> + + <bean id="org.hisp.dhis.web.api.service.FacilityReportingService" class="org.hisp.dhis.web.api.service.FacilityReportingServiceImpl"> + <property name="dataSetService" ref="org.hisp.dhis.dataset.DataSetService" /> + <property name="i18nService" ref="org.hisp.dhis.i18n.I18nService" /> + <property name="periodService" ref="org.hisp.dhis.web.api.service.IPeriodService" /> + <property name="categoryService" ref="org.hisp.dhis.dataelement.DataElementCategoryService" /> + <property name="dataValueService" ref="org.hisp.dhis.datavalue.DataValueService" /> + </bean> + + <bean id="org.hisp.dhis.web.api.service.IActivityValueService" class="org.hisp.dhis.web.api.service.DefaultActivityValueService"> + <property name="programStageInstanceService"> + <ref bean="org.hisp.dhis.program.ProgramStageInstanceService" /> + </property> + <property name="categoryService"> + <ref bean="org.hisp.dhis.dataelement.DataElementCategoryService" /> + </property> + <property name="dataValueService"> + <ref bean="org.hisp.dhis.patientdatavalue.PatientDataValueService" /> + </property> + <property name="currentUserService"> + <ref bean="org.hisp.dhis.user.CurrentUserService" /> + </property> + </bean> + + <bean id="org.hisp.dhis.web.api.service.IPeriodService" class="org.hisp.dhis.web.api.service.DefaultPeriodService"> + <property name="periodService"> + <ref bean="org.hisp.dhis.period.PeriodService" /> + </property> + </bean> + + <!-- Serialization writers and readers --> + + <bean id="org.hisp.dhis.web.api.provider.DataSerializableProvider" class="org.hisp.dhis.web.api.provider.DataSerializableProvider" + scope="singleton" /> + + <bean id="org.hisp.dhis.web.api.consumer.DataSetValueConsumer" class="org.hisp.dhis.web.api.provider.DataSetValueConsumer" + scope="singleton" /> + + <bean id="org.hisp.dhis.web.api.consumer.ActivityValueConsumer" class="org.hisp.dhis.web.api.provider.ActivityValueConsumer" + scope="singleton" /> + + <!-- ImportDataValue beans --> + + <bean id="org.hisp.dhis.web.api.action.ImportDataValueAction" class="org.hisp.dhis.web.api.action.ImportDataValueAction"> + + <property name="programStageInstanceService"> + <ref bean="org.hisp.dhis.program.ProgramStageInstanceService" /> + </property> + <property name="patientDataValueService"> + <ref bean="org.hisp.dhis.patientdatavalue.PatientDataValueService" /> + </property> + <property name="dataElementService"> + <ref bean="org.hisp.dhis.dataelement.DataElementService" /> + </property> + <property name="orgUnitService"> + <ref bean="org.hisp.dhis.organisationunit.OrganisationUnitService" /> + </property> + <property name="dataElementCategoryService"> + <ref bean="org.hisp.dhis.dataelement.DataElementCategoryService" /> + </property> + + </bean> </beans>
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

