diff options
author | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-31 18:08:22 +0000 |
---|---|---|
committer | rfeng <rfeng@13f79535-47bb-0310-9956-ffa450edef68> | 2009-07-31 18:08:22 +0000 |
commit | b029a4016074bd535a0f2aa5277bdb03bad06921 (patch) | |
tree | 4bead2382cf161a925a7d7743aa14de461e59930 /java/sca/modules/contribution/src | |
parent | a6179742e5829160477b0437afe323fcfe20131a (diff) |
Use the extensibility-equinox module to dynamically imports public packages and resources
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@799679 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/sca/modules/contribution/src')
-rw-r--r-- | java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java b/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java index fc1f4bd6c6..9d8908315b 100644 --- a/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java +++ b/java/sca/modules/contribution/src/main/java/org/apache/tuscany/sca/contribution/java/impl/ClassLoaderModelResolver.java @@ -60,8 +60,8 @@ public class ClassLoaderModelResolver extends URLClassLoader implements ModelRes } } if (parentClassLoader == null) { - // The extensibility bundle has DynamicImport-Package = * - parentClassLoader = ServiceDiscovery.class.getClassLoader(); + // The bundle has DynamicImport-Package = * + parentClassLoader = ServiceDiscovery.getInstance().getContextClassLoader(); } return parentClassLoader; |