b339e44a0af2781aa8a54a16d0e42e504a52ab36
[gpl/argeo-suite.git] / org.argeo.suite.web / META-INF / spring / application.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 xmlns:p="http://www.springframework.org/schema/p"
5 xsi:schemaLocation="
6 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
7 http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
8
9 <bean id="peopleService" class="org.argeo.suite.people.PeopleSuiteServiceImpl"
10 init-method="init" destroy-method="destroy">
11 <property name="repository" ref="repository" />
12 <property name="workspaceName" value="main" />
13 <property name="userAdminService" ref="userAdminService" />
14 </bean>
15
16 <bean id="userAdminService" class="org.argeo.connect.people.core.UserAdminServiceImpl"
17 scope="singleton" lazy-init="false">
18 <property name="userTransaction" ref="userTransaction" />
19 <property name="userAdmin" ref="userAdmin" />
20 <property name="userAdminServiceReference" ref="userAdmin" />
21 </bean>
22
23 <!-- The UI Service - Enables among other definition of specific commands
24 and editors. -->
25 <bean id="peopleWbService" class="org.argeo.connect.people.rap.PeopleWbServiceImpl"
26 scope="prototype">
27 </bean>
28
29 <!-- Execute initialization with a system authentication -->
30 <bean
31 class="org.argeo.cms.spring.AuthenticatedApplicationContextInitialization" />
32
33 </beans>