86b71a259b4c119c07d7bd4ae72009a02b6491d5
[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 </bean>
26
27 <!-- Order is important -->
28 <util:list id="knownWbServices">
29 <ref bean="trackerWorkbenchService" />
30 <ref bean="peopleWorkbenchService" />
31 <ref bean="documentsWorkbenchService" />
32 <ref bean="activitiesWorkbenchService" />
33 <ref bean="resourcesWorkbenchService" />
34 </util:list>
35
36 <bean id="suiteWorkbenchService" class="org.argeo.suite.workbench.DefaultSuiteWorkbenchService">
37 <property name="knownAppWbServices" ref="knownWbServices" />
38 </bean>
39
40
41 <!-- Execute initialisation with a system authentication -->
42 <bean
43 class="org.argeo.cms.spring.AuthenticatedApplicationContextInitialization" />
44 </beans>