]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - modules/server/org.argeo.slc.server.jcr/META-INF/spring/jcr-osgi.xml
Update to v0.14.2-SNAPSHOT
[gpl/argeo-slc.git] / modules / server / org.argeo.slc.server.jcr / META-INF / spring / jcr-osgi.xml
index d1a550c180dd56a01d13f764ca4d8cc9762a9e6d..1bf1809087ed5df4db06ac1ae07076038c9192ec 100644 (file)
@@ -1,19 +1,38 @@
 <?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="nodeRepository" interface="javax.jcr.Repository"\r
+       <reference id="repository" interface="javax.jcr.Repository"\r
                filter="(argeo.jcr.repository.alias=slc)" />\r
-       <reference id="systemExecutionService" interface="org.argeo.security.SystemExecutionService" />\r
+\r
+       <reference id="modulesManager"\r
+               interface="org.argeo.slc.execution.ExecutionModulesManager" />\r
+       <reference id="authenticationManager"\r
+               interface="org.springframework.security.AuthenticationManager" />\r
 \r
        <!-- SERVICES -->\r
        <service interface="org.argeo.slc.execution.ExecutionModulesListener"\r
                ref="executionModulesListener" />\r
+       <service ref="agent" interface="org.argeo.slc.runtime.SlcAgentFactory">\r
+               <service-properties>\r
+                       <beans:entry>\r
+                               <beans:key>\r
+                                       <util:constant static-field="org.argeo.slc.jcr.SlcJcrConstants.PROPERTY_PATH" />\r
+                               </beans:key>\r
+                               <util:constant\r
+                                       static-field="org.argeo.slc.jcr.SlcJcrConstants.VM_AGENT_FACTORY_PATH" />\r
+                       </beans:entry>\r
+               </service-properties>\r
+       </service>\r
+       <service ref="agent" interface="org.argeo.slc.runtime.SlcAgent" />\r
 \r
        <!-- <service interface="org.argeo.slc.dao.process.SlcExecutionDao" -->\r
        <!-- ref="slcExecutionDao" /> -->\r