Split assembly for service and cms config
[gpl/argeo-suite.git] / org.argeo.suite.apps / META-INF / spring / workbench-services.xml
diff --git a/org.argeo.suite.apps/META-INF/spring/workbench-services.xml b/org.argeo.suite.apps/META-INF/spring/workbench-services.xml
new file mode 100644 (file)
index 0000000..86b14b8
--- /dev/null
@@ -0,0 +1,35 @@
+<?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
+       <bean id="resourcesWorkbenchService"\r
+               class="org.argeo.connect.resources.workbench.ResourcesWorkbenchService" />\r
+\r
+       <bean id="activitiesWorkbenchService"\r
+               class="org.argeo.activities.workbench.ActivitiesWorkbenchService" />\r
+\r
+       <bean id="peopleWorkbenchService"\r
+               class="org.argeo.people.workbench.rap.PeopleWorkbenchServiceImpl" />\r
+\r
+       <bean id="documentsWorkbenchService"\r
+               class="org.argeo.documents.workbench.DocumentsWorkbenchService" />\r
+\r
+       <!--order is important -->\r
+       <util:list id="knownWbServices">\r
+               <ref bean="peopleWorkbenchService" />\r
+               <ref bean="documentsWorkbenchService" />\r
+               <ref bean="activitiesWorkbenchService" />\r
+               <ref bean="resourcesWorkbenchService" />\r
+       </util:list>\r
+\r
+       <bean id="suiteWorkbenchService" class="org.argeo.suite.workbench.SuiteWorkbenchService">\r
+               <property name="knownAppWbServices" ref="knownWbServices" />\r
+       </bean>\r
+\r
+\r
+       <!-- Execute initialisation with a system authentication -->\r
+       <bean\r
+               class="org.argeo.cms.spring.AuthenticatedApplicationContextInitialization" />\r
+</beans>\r