Repository: incubator-taverna-osgi
Updated Branches:
  refs/heads/master 1999ae2b4 -> 4edd119c0


About spring modules


Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-osgi/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-osgi/commit/4edd119c
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-osgi/tree/4edd119c
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-taverna-osgi/diff/4edd119c

Branch: refs/heads/master
Commit: 4edd119c023c561cc1bd060bcc81dfc9bfcb8452
Parents: 1999ae2
Author: Stian Soiland-Reyes <[email protected]>
Authored: Mon Feb 22 16:52:29 2016 +0000
Committer: Stian Soiland-Reyes <[email protected]>
Committed: Mon Feb 22 16:52:29 2016 +0000

----------------------------------------------------------------------
 README.md | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-osgi/blob/4edd119c/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index e2cd972..bd82acc 100644
--- a/README.md
+++ b/README.md
@@ -160,3 +160,25 @@ for details on each OSGi service. In brief:
   using preferences stored in the application home directory  
 * The [xml-parser-service](xml-parser-service/)  and 
[xml-transformer-service](xml-transformer-service/)
   re-exposes xalan's and xerces's XML parser and XML transformer 
implementations within SOGi
+
+## Spring services
+
+The OSGi services should be
+discoverable as [Spring](https://spring.io/) services,
+e.g. by adding to
+your `META-INF/spring/update-context-osgi.xml`:
+
+    <beans:beans xmlns="http://www.springframework.org/schema/osgi"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+       xmlns:beans="http://www.springframework.org/schema/beans";
+       xsi:schemaLocation="http://www.springframework.org/schema/beans
+                                     
http://www.springframework.org/schema/beans/spring-beans.xsd
+                                     http://www.springframework.org/schema/osgi
+                                     
http://www.springframework.org/schema/osgi/spring-osgi.xsd";>
+        <reference id="applicationConfiguration" 
interface="org.apache.taverna.configuration.app.ApplicationConfiguration" />
+        <reference id="proxyConfiguration" 
interface="org.apache.taverna.configuration.proxy.HttpProxyConfiguration" />
+        <reference id="configurationManager" 
interface="org.apache.taverna.configuration.ConfigurationManager" />
+        <reference id="downloadManager" 
interface="org.apache.taverna.download.DownloadManager" />
+        <reference id="pluginManager" 
interface="org.apache.taverna.plugin.PluginManager" />
+        <reference id="updateManager" 
interface="org.apache.taverna.update.UpdatenManager" />
+    </beans:beans>
+

Reply via email to