]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - org.argeo.slc.agent.jcr/META-INF/spring/jcr-osgi.xml
Migrate SLC modules
[gpl/argeo-slc.git] / org.argeo.slc.agent.jcr / META-INF / spring / jcr-osgi.xml
diff --git a/org.argeo.slc.agent.jcr/META-INF/spring/jcr-osgi.xml b/org.argeo.slc.agent.jcr/META-INF/spring/jcr-osgi.xml
new file mode 100644 (file)
index 0000000..ef95f7c
--- /dev/null
@@ -0,0 +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/util\r
+       http://www.springframework.org/schema/util/spring-util-2.5.xsd">\r
+\r
+       <!-- REFERENCES -->\r
+       <reference id="repository" interface="javax.jcr.Repository"\r
+               filter="(argeo.jcr.repository.alias=slc)" />\r
+\r
+       <reference id="authenticationManager"\r
+               interface="org.springframework.security.authentication.AuthenticationManager" />\r
+\r
+       <reference id="modulesManager"\r
+               interface="org.argeo.slc.execution.ExecutionModulesManager" />\r
+\r
+       <!-- SERVICES -->\r
+       <service ref="attachmentUploader" interface="org.argeo.slc.core.attachment.AttachmentUploader" />\r
+\r
+       <service interface="org.argeo.slc.execution.ExecutionModulesListener"\r
+               ref="executionModulesListener" />\r
+\r
+       <service ref="agent" interface="org.argeo.slc.execution.SlcAgent" />\r
+       <service ref="agentCli" interface="org.argeo.slc.execution.SlcAgentCli" />\r
+\r
+       <service ref="fileSystemManager" interface="org.apache.commons.vfs2.FileSystemManager" />\r
+</beans:beans>
\ No newline at end of file