]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - modules/server/org.argeo.slc.server.jackrabbit.pgsql/META-INF/spring/jackrabbit-osgi.xml
Improve SLC Jackrabbit
[gpl/argeo-slc.git] / modules / server / org.argeo.slc.server.jackrabbit.pgsql / META-INF / spring / jackrabbit-osgi.xml
index f90274f86789859f0a4efa8a90adcd7815ba8787..18013716135f12049f553706e9fbf4adce6a8a5f 100644 (file)
@@ -1,14 +1,32 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
 <beans:beans xmlns="http://www.springframework.org/schema/osgi"\r
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:beans="http://www.springframework.org/schema/beans"\r
+       xmlns:util="http://www.springframework.org/schema/util"\r
        xsi:schemaLocation="http://www.springframework.org/schema/osgi  \r
        http://www.springframework.org/schema/osgi/spring-osgi-1.1.xsd\r
        http://www.springframework.org/schema/beans   \r
-       http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">\r
+       http://www.springframework.org/schema/beans/spring-beans-2.5.xsd\r
+       http://www.springframework.org/schema/util\r
+       http://www.springframework.org/schema/util/spring-util-2.5.xsd">\r
 \r
+       <!-- REFERENCES -->\r
+       <reference id="systemExecutionService" interface="org.argeo.security.SystemExecutionService" />\r
+\r
+       <!-- SERVICES -->\r
        <service ref="jcrRepository" interface="javax.jcr.Repository">\r
                <service-properties>\r
-                       <beans:entry key="argeo.jcr.repository.name" value="repo" />\r
+                       <beans:entry value="slc">\r
+                               <beans:key>\r
+                                       <util:constant\r
+                                               static-field="org.argeo.jcr.ArgeoJcrConstants.JCR_REPOSITORY_ALIAS" />\r
+                               </beans:key>\r
+                       </beans:entry>\r
+                       <beans:entry value="node">\r
+                               <beans:key>\r
+                                       <util:constant\r
+                                               static-field="org.argeo.jcr.ArgeoJcrConstants.JCR_REPOSITORY_ALIAS" />\r
+                               </beans:key>\r
+                       </beans:entry>\r
                </service-properties>\r
        </service>\r
 \r