]> git.argeo.org Git - lgpl/argeo-commons.git/blob - spring/jcr.xml
Prepare next development cycle
[lgpl/argeo-commons.git] / spring / jcr.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:util="http://www.springframework.org/schema/util"
4 xmlns:p="http://www.springframework.org/schema/p"
5 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
6 http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-2.5.xsd">
7
8 <bean id="repositoryRegister" class="org.argeo.jcr.DefaultRepositoryRegister">
9 </bean>
10
11 <bean id="nodeSession" class="org.argeo.jcr.spring.ThreadBoundSession">
12 <property name="repository" ref="nodeRepository" />
13 </bean>
14
15 <bean id="jcrKeyring" class="org.argeo.jcr.security.JcrKeyring">
16 <property name="session" ref="nodeSession" />
17 <property name="defaultCallbackHandler" ref="defaultCallbackHandler" />
18 </bean>
19
20 </beans>