]> git.argeo.org Git - lgpl/argeo-commons.git/blob - WEB-INF/applicationContext.xml
Prepare next development cycle
[lgpl/argeo-commons.git] / WEB-INF / applicationContext.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:aop="http://www.springframework.org/schema/aop"
4 xsi:schemaLocation="
5 http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
6 http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-2.5.xsd">
7
8 <import resource="osgi.xml" />
9 <import resource="security-filters.xml" />
10
11 <bean
12 class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
13 <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
14 <property name="locations">
15 <value>osgibundle:jackrabbit-webapp.properties</value>
16 </property>
17 </bean>
18
19 <!-- The JCR sessions, optimised per web session. -->
20 <bean id="scopedSessionProvider" init-method="init"
21 destroy-method="destroy" class="org.argeo.jackrabbit.remote.ScopedSessionProvider"
22 scope="session">
23 <aop:scoped-proxy proxy-target-class="false" />
24 </bean>
25
26 <!-- The JCR sessions, one login per request. -->
27 <bean id="openInViewSessionProvider" init-method="init"
28 destroy-method="destroy" class="org.argeo.jackrabbit.remote.OpenInViewSessionProvider">
29 </bean>
30
31 <!-- <bean id="repositoryRegister" class="org.argeo.jcr.DefaultRepositoryRegister"
32 /> -->
33
34 </beans>