]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - eclipse/plugins/org.argeo.slc.client.ui/META-INF/spring/osgi.xml
JCR UI can run processes
[gpl/argeo-slc.git] / eclipse / plugins / org.argeo.slc.client.ui / META-INF / spring / osgi.xml
index 8b613485e0d505a9c26530e96e857003ad413adc..67caaabde35f36ecdedb060925603a188962fb8d 100644 (file)
        <beans:description> Implements SLC specific RCP UIs.\r
        </beans:description>\r
 \r
+       <!-- REFERENCES -->\r
+       <reference id="repository" interface="javax.jcr.Repository"\r
+               filter="(argeo.jcr.repository.alias=slc)" />\r
+       <list id="agentFactories" interface="org.argeo.slc.runtime.SlcAgentFactory">\r
+               <osgi:listener ref="processController" bind-method="register"\r
+                       unbind-method="unregister" />\r
+       </list>\r
+\r
+\r
        <!-- Services exposed by the current bundle -->\r
 \r
        <!-- Listeners used by the execution modules -->\r
@@ -18,9 +27,6 @@
                interface="org.argeo.slc.core.test.tree.TreeTestResultListener" />\r
        <service ref="slcExecutionServiceAdapter" interface="org.argeo.slc.process.SlcExecutionNotifier" />\r
 \r
-       <!-- References needed by the current bundle -->\r
-       <reference id="repository" interface="javax.jcr.Repository"\r
-               filter="(argeo.jcr.repository.alias=slc)" />\r
 \r
 \r
        <reference id="slcExecutionService" interface="org.argeo.slc.services.SlcExecutionService" />\r