Make Argeo Distribution multi-modules
[gpl/argeo-tp.git] / org.argeo.tp.factory.core / META-INF / spring / osgi.xml
diff --git a/org.argeo.tp.factory.core/META-INF/spring/osgi.xml b/org.argeo.tp.factory.core/META-INF/spring/osgi.xml
new file mode 100644 (file)
index 0000000..3e94fc7
--- /dev/null
@@ -0,0 +1,22 @@
+<?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
+       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
+\r
+       <beans:import resource="classpath:org/argeo/slc/core/execution/spring.xml" />\r
+       <beans:import resource="classpath:org/argeo/slc/osgi/execution.xml" />\r
+\r
+       <!-- SERVICES -->\r
+       <!-- <service ref="osgiFactory" interface="org.argeo.slc.repo.OsgiFactory" \r
+               /> -->\r
+       <service ref="argeo-tp" interface="org.argeo.slc.repo.ArgeoOsgiDistribution" />\r
+\r
+       <!-- REFERENCES -->\r
+       <reference id="javaRepository" interface="javax.jcr.Repository"\r
+               filter="(cn=java)" />\r
+       <reference id="distRepository" interface="javax.jcr.Repository"\r
+               filter="(cn=dist)" />\r
+</beans:beans>
\ No newline at end of file