Remove core module
[gpl/argeo-suite.git] / org.argeo.suite.apps / META-INF / spring / maintenance-services.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:util="http://www.springframework.org/schema/util" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
5 http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
6
7
8 <bean id="resourcesMaintenanceService"
9 class="org.argeo.connect.resources.core.ResourcesMaintenanceService" />
10
11 <bean id="activitiesMaintenanceService" class="org.argeo.activities.core.ActivitiesMaintenanceService" />
12
13 <bean id="peopleMaintenanceService" class="org.argeo.people.core.PeopleMaintenanceService" />
14
15 <bean id="trackerMaintenanceService" class="org.argeo.tracker.core.TrackerMaintenanceService" />
16
17 <!-- There is no maintenance Service for the Documents App yet -->
18 <!-- Order is important -->
19 <util:list id="knownMaintenanceServices">
20 <ref bean="resourcesMaintenanceService" />
21 <ref bean="activitiesMaintenanceService" />
22 <ref bean="peopleMaintenanceService" />
23 <ref bean="trackerMaintenanceService" />
24 </util:list>
25
26 <!-- Make the DJ-aying between the various known Apps Maintenance -->
27 <bean id="suiteMaintenanceService" class="org.argeo.connect.core.DefaultSystemMaintenanceService"
28 init-method="init" destroy-method="destroy">
29 <property name="repository" ref="repository" />
30 <property name="workspaceName" value="main" />
31 <property name="maintenanceServices" ref="knownMaintenanceServices" />
32 </bean>
33
34 <!-- Execute initialisation with a system authentication -->
35 <bean
36 class="org.argeo.cms.spring.AuthenticatedApplicationContextInitialization" />
37 </beans>