Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2014-11-13 02:57:13 -0500
committerJan Bartel2014-11-13 02:57:13 -0500
commitdc2b9b18a9412cddeb4a9631359e4d7b7cf87a3f (patch)
tree614ac3490b7601dc8ad1eef8ac6d3089a8c4769d /jetty-osgi/jetty-osgi-boot/src
parent09846e324d0861e19772b557bd891e478494ec07 (diff)
downloadorg.eclipse.jetty.project-dc2b9b18a9412cddeb4a9631359e4d7b7cf87a3f.tar.gz
org.eclipse.jetty.project-dc2b9b18a9412cddeb4a9631359e4d7b7cf87a3f.tar.xz
org.eclipse.jetty.project-dc2b9b18a9412cddeb4a9631359e4d7b7cf87a3f.zip
383207 Use BundleFileLocatorHelperFactory to obtain BundleFileLocatorHelper
Diffstat (limited to 'jetty-osgi/jetty-osgi-boot/src')
-rw-r--r--jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/annotations/AnnotationParser.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/annotations/AnnotationParser.java b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/annotations/AnnotationParser.java
index 9275bc76fe..549542be06 100644
--- a/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/annotations/AnnotationParser.java
+++ b/jetty-osgi/jetty-osgi-boot/src/main/java/org/eclipse/jetty/osgi/annotations/AnnotationParser.java
@@ -30,6 +30,7 @@ import java.util.concurrent.ConcurrentHashMap;
import org.eclipse.jetty.annotations.ClassNameResolver;
import org.eclipse.jetty.osgi.boot.utils.BundleFileLocatorHelper;
+import org.eclipse.jetty.osgi.boot.utils.BundleFileLocatorHelperFactory;
import org.eclipse.jetty.util.ConcurrentHashSet;
import org.eclipse.jetty.util.resource.Resource;
import org.osgi.framework.Bundle;
@@ -56,7 +57,7 @@ public class AnnotationParser extends org.eclipse.jetty.annotations.AnnotationPa
*/
protected Resource indexBundle(Bundle bundle) throws Exception
{
- File bundleFile = BundleFileLocatorHelper.DEFAULT.getBundleInstallLocation(bundle);
+ File bundleFile = BundleFileLocatorHelperFactory.getFactory().getHelper().getBundleInstallLocation(bundle);
Resource resource = Resource.newResource(bundleFile.toURI());
URI uri = resource.getURI();
_uriToBundle.putIfAbsent(uri,bundle);

Back to the top