]> git.argeo.org Git - lgpl/argeo-commons.git/blob - server/modules/org.argeo.node.repo.jackrabbit/META-INF/spring/noderepo.xml
Introduce OSGi Explorer
[lgpl/argeo-commons.git] / server / modules / org.argeo.node.repo.jackrabbit / META-INF / spring / noderepo.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"
4 xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">
5
6 <bean
7 class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
8 <property name="systemPropertiesModeName" value="SYSTEM_PROPERTIES_MODE_OVERRIDE" />
9 <property name="locations">
10 <value>osgibundle:noderepo.properties</value>
11 </property>
12 </bean>
13
14 <bean id="nodeJcrRepository" class="org.argeo.jackrabbit.JackrabbitContainer"
15 init-method="init" destroy-method="dispose">
16 <property name="uri" value="${argeo.node.repo.uri}" />
17 <property name="homeDirectory" value="${argeo.node.repo.home}" />
18 <property name="configuration" value="${argeo.node.repo.configuration}" />
19 <property name="variables" value="osgibundle:/noderepo.properties" />
20 <property name="namespaces">
21 <map>
22 <entry key="argeo" value="http://www.argeo.org/ns/argeo" />
23 </map>
24 </property>
25 <property name="cndFiles">
26 <list>
27 <value>classpath:/org/argeo/jcr/argeo.cnd</value>
28 </list>
29 </property>
30 </bean>
31
32 <!-- Execute initialization with a system authentication -->
33 <bean
34 class="org.argeo.security.core.AuthenticatedApplicationContextInitialization">
35 <property name="authenticationManager" ref="authenticationManager" />
36 </bean>
37
38 </beans>