Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Ross2012-09-11 11:39:46 +0000
committerThomas Watson2012-09-11 15:00:59 +0000
commita4835983ff42069b0cde7da988f8fe68caacb116 (patch)
treea71ce7978789a777eee1fc9a5854d20f68404488 /bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxContainerAdaptor.java
parentb89784d3c1750372551dd77c25868293f67ee3d0 (diff)
downloadrt.equinox.framework-a4835983ff42069b0cde7da988f8fe68caacb116.tar.gz
rt.equinox.framework-a4835983ff42069b0cde7da988f8fe68caacb116.tar.xz
rt.equinox.framework-a4835983ff42069b0cde7da988f8fe68caacb116.zip
Refactored based on decision that the builder would not be API, at least for now, since all of the known entry providers currently reside in the module. The remaining API is the resolution report and its listener.
Added the filtered_by_hook and singleton entries along with tests. Fixed issue in ModuleResolver.ResolveProcess.selectSingletons where a loop was executing unnecessarily and adding a duplicate entry to the report.
Diffstat (limited to 'bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxContainerAdaptor.java')
-rw-r--r--bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxContainerAdaptor.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxContainerAdaptor.java b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxContainerAdaptor.java
index 6878d6afe..db11fa3f6 100644
--- a/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxContainerAdaptor.java
+++ b/bundles/org.eclipse.osgi/container/src/org/eclipse/osgi/internal/framework/EquinoxContainerAdaptor.java
@@ -17,6 +17,7 @@ import org.eclipse.osgi.internal.loader.*;
import org.eclipse.osgi.storage.BundleInfo.Generation;
import org.eclipse.osgi.storage.Storage;
import org.osgi.framework.*;
+import org.osgi.framework.hooks.resolver.ResolverHookFactory;
import org.osgi.framework.namespace.HostNamespace;
import org.osgi.framework.wiring.BundleRevision;
import org.osgi.service.resolver.ResolutionException;
@@ -64,7 +65,7 @@ public class EquinoxContainerAdaptor extends ModuleContainerAdaptor {
}
@Override
- public ModuleResolverHookFactory getResolverHookFactory() {
+ public ResolverHookFactory getResolverHookFactory() {
return hooks.getResolverHookFactory();
}

Back to the top