diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-21 23:52:17 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2008-07-21 23:52:17 +0000 |
commit | ff69891d47964bc66f3288db72dd6923acf17c52 (patch) | |
tree | 437760994ff4617059edba1efeccbdb81d2c1d13 /java/sca/modules/extensibility-osgi | |
parent | fea70a868259d29d62d7cfba7a331149fd3109b2 (diff) |
Add more comments and some minor clean up
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@678600 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/extensibility-osgi')
-rw-r--r-- | java/sca/modules/extensibility-osgi/src/main/java/org/apache/tuscany/sca/extensibility/osgi/OSGiServiceDiscoverer.java | 6 |
1 files changed, 6 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 e90ded0901..1b07753f3d 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 @@ -57,6 +57,12 @@ public class OSGiServiceDiscoverer implements ServiceDiscoverer { this.classLoader = new ClassLoaderImpl(); } + /** + * This class loader provides resource access to META-INF/services/... which is used by + * many frameworks. OSGi Import-Package and DynmaicImport-Package headers do not support + * split packages. Another option is to use Require-Bundle header. We can collect the list + * of bundles and add them as required bundles to a special gateway bundle. + */ public class ClassLoaderImpl extends SecureClassLoader { public ClassLoaderImpl() { |