--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>\r
+<beans xmlns="http://www.springframework.org/schema/beans"\r
+ xmlns:util="http://www.springframework.org/schema/util" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+ xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\r
+ http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">\r
+\r
+\r
+ <bean id="resourcesMaintenanceService"\r
+ class="org.argeo.connect.resources.core.ResourcesMaintenanceService" />\r
+\r
+ <bean id="activitiesMaintenanceService"\r
+ class="org.argeo.connect.activities.core.ActivitiesMaintenanceService" />\r
+\r
+ <bean id="peopleMaintenanceService" class="org.argeo.connect.people.core.PeopleMaintenanceService" />\r
+\r
+ <bean id="trackerMaintenanceService"\r
+ class="org.argeo.connect.tracker.core.TrackerMaintenanceService" />\r
+\r
+ <!-- There is no maintenance Service for the Documents App yet -->\r
+ <!-- Order is important -->\r
+ <util:list id="knownMaintenanceServices">\r
+ <ref bean="resourcesMaintenanceService" />\r
+ <ref bean="activitiesMaintenanceService" />\r
+ <ref bean="peopleMaintenanceService" />\r
+ <ref bean="trackerMaintenanceService" />\r
+ </util:list>\r
+\r
+ <!-- Make the DJ-aying between the various known Apps Maintenance -->\r
+ <bean id="suiteMaintenanceService" class="org.argeo.suite.core.DefaultSuiteMaintenanceService"\r
+ init-method="init" destroy-method="destroy">\r
+ <property name="repository" ref="repository" />\r
+ <property name="workspaceName" value="main" />\r
+ <property name="maintenanceServices" ref="knownMaintenanceServices" />\r
+ </bean>\r
+\r
+ <!-- Execute initialization with a system authentication -->\r
+ <bean\r
+ class="org.argeo.cms.spring.AuthenticatedApplicationContextInitialization" />\r
+</beans>\r