diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-19 06:38:53 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-09-19 06:38:53 +0000 |
commit | 4140d84ab1259cc7500e36fb761f21c5ee01fba9 (patch) | |
tree | 149d212acf2b966ccd5c6be8fc752a4f2013dfe6 /java/sca/modules/node-launcher-osgi | |
parent | e78d25f094fd8179557bc6fd8e448ca3c7c23f12 (diff) |
Upgrade to Axis2 1.4.1 and its transitive dependencies such as XmlSchema and Axiom based on the patches from Ram for TUSCANY-2606
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@696937 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/node-launcher-osgi')
-rw-r--r-- | java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/NodeLauncherUtil.java | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/NodeLauncherUtil.java b/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/NodeLauncherUtil.java index 4a13c0a589..adba1e2da7 100644 --- a/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/NodeLauncherUtil.java +++ b/java/sca/modules/node-launcher-osgi/src/main/java/org/apache/tuscany/sca/node/osgi/launcher/NodeLauncherUtil.java @@ -182,5 +182,17 @@ final class NodeLauncherUtil { static void stopOSGi(OSGiHost host) { host.stop(); } + + /* + static OSGiHost getOSGiHost() throws Exception { + ServiceDiscovery discovery = ServiceDiscovery.getInstance(Thread.currentThread().getContextClassLoader()); + Class<?> hostClass = discovery.loadFirstServiceClass(OSGiHost.class); + if (hostClass != null) { + return (OSGiHost) hostClass.newInstance(); + } else { + return null; + } + } + */ } |