Adapt after bug fixes
[gpl/argeo-suite.git] / org.argeo.suite.apps / META-INF / spring / workbench-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 <bean id="resourcesWorkbenchService"
8 class="org.argeo.connect.resources.workbench.ResourcesWorkbenchService" />
9
10 <bean id="activitiesWorkbenchService"
11 class="org.argeo.activities.workbench.ActivitiesWorkbenchService">
12 <property name="userAdminService" ref="userAdminService" />
13 <property name="activitiesService" ref="activitiesService" />
14 </bean>
15
16
17 <bean id="peopleWorkbenchService"
18 class="org.argeo.people.workbench.rap.PeopleWorkbenchServiceImpl" />
19
20 <bean id="documentsWorkbenchService" class="org.argeo.documents.workbench.DocumentsWorkbenchService" />
21
22 <bean id="trackerWorkbenchService" class="org.argeo.tracker.workbench.TrackerWorkbenchService">
23 <property name="userAdminService" ref="userAdminService" />
24 <property name="trackerService" ref="trackerService" />
25 <property name="activitiesService" ref="activitiesService" />
26 </bean>
27
28 <!-- Order is important -->
29 <util:list id="knownWbServices">
30 <ref bean="trackerWorkbenchService" />
31 <ref bean="peopleWorkbenchService" />
32 <ref bean="documentsWorkbenchService" />
33 <ref bean="activitiesWorkbenchService" />
34 <ref bean="resourcesWorkbenchService" />
35 </util:list>
36
37 <bean id="suiteWorkbenchService" class="org.argeo.suite.workbench.DefaultSuiteWorkbenchService">
38 <property name="knownAppWbServices" ref="knownWbServices" />
39 </bean>
40
41
42 <!-- Execute initialisation with a system authentication -->
43 <bean
44 class="org.argeo.cms.spring.AuthenticatedApplicationContextInitialization" />
45 </beans>