1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <beans:beans xmlns=
"http://www.springframework.org/schema/osgi"
3 xmlns:
xsi=
"http://www.w3.org/2001/XMLSchema-instance" xmlns:
beans=
"http://www.springframework.org/schema/beans"
4 xmlns:
util=
"http://www.springframework.org/schema/util"
5 xsi:
schemaLocation=
"http://www.springframework.org/schema/osgi
6 http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd
7 http://www.springframework.org/schema/beans
8 http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
9 http://www.springframework.org/schema/util
10 http://www.springframework.org/schema/util/spring-util-2.5.xsd">
13 <list id=
"repositories" interface=
"javax.jcr.Repository"
15 <listener ref=
"repositoryFactory" bind-method=
"register"
16 unbind-method=
"unregister" />
20 <service ref=
"nodeJcrRepository">
22 <beans:value>javax.jcr.Repository
</beans:value>
23 <beans:value>org.argeo.jcr.MaintainedRepository
</beans:value>
26 <beans:entry key=
"argeo.jcr.repository.alias" value=
"node" />
27 <beans:entry key=
"argeo.jcr.repository.home" value=
"${argeo.node.repo.home}" />
30 <service ref=
"repositoryFactory" interface=
"javax.jcr.RepositoryFactory" />