commit | df3603c1d32fd6a9b664ea02e91af5f15337f684 | [log] [tgz] |
---|---|---|
author | Carsten Ziegeler <cziegeler@apache.org> | Mon Feb 02 17:42:13 2015 +0000 |
committer | Carsten Ziegeler <cziegeler@apache.org> | Mon Feb 02 17:42:13 2015 +0000 |
tree | 40b5e184873abcec4c46a851efef89fcfa73e449 | |
parent | dc1695aa4d33ef03aab8685da2a8eff6281b3600 [diff] |
FELIX-4060 : Implement HTTP Service Update (RFC-189) git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1656525 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/http/base/src/main/java/org/apache/felix/http/base/internal/whiteboard/PerBundleServletContextImpl.java b/http/base/src/main/java/org/apache/felix/http/base/internal/whiteboard/PerBundleServletContextImpl.java index 3fae532..9b3d56e 100644 --- a/http/base/src/main/java/org/apache/felix/http/base/internal/whiteboard/PerBundleServletContextImpl.java +++ b/http/base/src/main/java/org/apache/felix/http/base/internal/whiteboard/PerBundleServletContextImpl.java
@@ -40,6 +40,7 @@ import org.apache.felix.http.base.internal.context.ExtServletContext; import org.osgi.framework.Bundle; +import org.osgi.framework.wiring.BundleWiring; import org.osgi.service.http.context.ServletContextHelper; /** @@ -74,7 +75,7 @@ @Override public ClassLoader getClassLoader() { - return this.bundle.getClass().getClassLoader(); + return this.bundle.adapt(BundleWiring.class).getClassLoader(); } /**