]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - runtime/org.argeo.slc.support.equinox/src/main/resources/META-INF/spring/osgi.xml
Use listener to track services
[gpl/argeo-slc.git] / runtime / org.argeo.slc.support.equinox / src / main / resources / META-INF / spring / osgi.xml
index 6ecec13592ba363d5bfe88edb871b4ceb3a01458..28600ad409821034324aaff5e6b767b447552835 100644 (file)
@@ -6,11 +6,14 @@
        http://www.springframework.org/schema/beans   \r
        http://www.springframework.org/schema/beans/spring-beans-2.5.xsd">\r
 \r
-       <service interface="org.eclipse.osgi.framework.console.CommandProvider">\r
-               <beans:bean class="org.argeo.slc.equinox.ExecutionCommandProvider">\r
-                       <beans:property name="bundlesManager" ref="bundlesManager" />\r
-               </beans:bean>\r
-       </service>\r
+       <beans:import resource="classpath:org/argeo/slc/osgi/manager.xml" />\r
 \r
-       <beans:bean id="bundlesManager" class="org.argeo.slc.osgi.BundlesManager" />\r
+       <service interface="org.eclipse.osgi.framework.console.CommandProvider"\r
+               ref="commandProvider" />\r
+\r
+       <!--\r
+               <service\r
+               interface="org.springframework.osgi.context.event.OsgiBundleApplicationContextListener"\r
+               ref="bundlesManager" />\r
+       -->\r
 </beans:beans>
\ No newline at end of file