summaryrefslogtreecommitdiffstats
path: root/java/sca/modules
diff options
context:
space:
mode:
authorrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-08-01 01:52:02 +0000
committerrfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68>2008-08-01 01:52:02 +0000
commitbbe30c2b3731323890b941098a599f54d94def31 (patch)
tree822c454a675f2a318cf24f524cc94d4c81854099 /java/sca/modules
parenta62629eb9caebab3f377e219efab09a4b4ade24d (diff)
Add getBundleContext()
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@681584 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules')
-rw-r--r--java/sca/modules/extensibility-osgi/src/main/java/org/apache/tuscany/sca/extensibility/osgi/OSGiServiceDiscoverer.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/java/sca/modules/extensibility-osgi/src/main/java/org/apache/tuscany/sca/extensibility/osgi/OSGiServiceDiscoverer.java b/java/sca/modules/extensibility-osgi/src/main/java/org/apache/tuscany/sca/extensibility/osgi/OSGiServiceDiscoverer.java
index 8b6a5ceea4..b208310a58 100644
--- a/java/sca/modules/extensibility-osgi/src/main/java/org/apache/tuscany/sca/extensibility/osgi/OSGiServiceDiscoverer.java
+++ b/java/sca/modules/extensibility-osgi/src/main/java/org/apache/tuscany/sca/extensibility/osgi/OSGiServiceDiscoverer.java
@@ -253,6 +253,10 @@ public class OSGiServiceDiscoverer implements ServiceDiscoverer {
}
return attributes;
}
+
+ public BundleContext getBundleContext() {
+ return context;
+ }
/**
* This class loader can be set as the thread context class loader for non-OSGi code