1 11 package org.eclipse.osgi.service.resolver; 12 13 import java.util.Comparator ; 14 import java.util.Dictionary ; 15 23 public interface Resolver { 24 25 48 public void resolve(BundleDescription[] discard, Dictionary [] platformProperties); 49 50 55 public void flush(); 56 57 65 public State getState(); 66 67 81 public void setState(State value); 82 83 87 public void bundleAdded(BundleDescription bundle); 88 89 95 public void bundleRemoved(BundleDescription bundle, boolean pending); 96 97 104 public void bundleUpdated(BundleDescription newDescription, BundleDescription existingDescription, boolean pending); 105 106 116 public ExportPackageDescription resolveDynamicImport(BundleDescription importingBundle, String requestedPackage); 117 118 137 public void setSelectionPolicy(Comparator selectionPolicy); 138 139 144 public Comparator getSelectionPolicy(); 145 } 146 | Popular Tags |