Introduce a default assembly bundle to ease specific extension
[gpl/argeo-suite.git] / org.argeo.suite.app / META-INF / spring / workbench-services.xml
diff --git a/org.argeo.suite.app/META-INF/spring/workbench-services.xml b/org.argeo.suite.app/META-INF/spring/workbench-services.xml
new file mode 100644 (file)
index 0000000..79f7df1
--- /dev/null
@@ -0,0 +1,36 @@
+<?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.connect.activities.workbench.ActivitiesWorkbenchService" />\r
+\r
+       <bean id="peopleWorkbenchService"\r
+               class="org.argeo.connect.people.workbench.rap.PeopleWorkbenchServiceImpl" />\r
+\r
+       <bean id="documentsWorkbenchService"\r
+               class="org.argeo.connect.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 initialization with a system authentication -->\r
+       <bean\r
+               class="org.argeo.cms.spring.AuthenticatedApplicationContextInitialization" />\r
+\r
+</beans>\r