d1fcfcd9ea33972dbbe32967726f6755780dfbae
[gpl/argeo-suite.git] / org.argeo.suite.apps / META-INF / spring / workbench-services.xml
1 <?xml version="1.0" encoding="UTF-8"?>\r
2 <beans xmlns="http://www.springframework.org/schema/beans"\r
3         xmlns:util="http://www.springframework.org/schema/util" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
4         xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\r
5        http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">\r
6 \r
7         <bean id="resourcesWorkbenchService"\r
8                 class="org.argeo.connect.resources.workbench.ResourcesWorkbenchService" />\r
9 \r
10         <bean id="activitiesWorkbenchService"\r
11                 class="org.argeo.activities.workbench.ActivitiesWorkbenchService">\r
12                 <property name="userAdminService" ref="userAdminService" />\r
13                 <property name="activitiesService" ref="activitiesService" />\r
14         </bean>\r
15 \r
16 \r
17         <bean id="peopleWorkbenchService"\r
18                 class="org.argeo.people.workbench.rap.PeopleWorkbenchServiceImpl" />\r
19 \r
20         <bean id="documentsWorkbenchService" class="org.argeo.documents.workbench.DocumentsWorkbenchService" />\r
21 \r
22         <bean id="trackerWorkbenchService" class="org.argeo.tracker.workbench.TrackerWorkbenchService">\r
23                 <property name="userAdminService" ref="userAdminService" />\r
24                 <property name="trackerService" ref="trackerService" />\r
25                 <property name="activitiesService" ref="activitiesService" />\r
26         </bean>\r
27 \r
28         <!-- Order is important -->\r
29         <util:list id="knownWbServices">\r
30                 <ref bean="trackerWorkbenchService" />\r
31                 <ref bean="peopleWorkbenchService" />\r
32                 <ref bean="documentsWorkbenchService" />\r
33                 <ref bean="activitiesWorkbenchService" />\r
34                 <ref bean="resourcesWorkbenchService" />\r
35         </util:list>\r
36 \r
37         <bean id="suiteWorkbenchService" class="org.argeo.suite.workbench.DefaultSuiteWorkbenchService">\r
38                 <property name="knownAppWbServices" ref="knownWbServices" />\r
39         </bean>\r
40 \r
41 \r
42         <!-- Execute initialisation with a system authentication -->\r
43         <bean\r
44                 class="org.argeo.cms.spring.AuthenticatedApplicationContextInitialization" />\r
45 </beans>\r