Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Kaegi2008-02-15 22:52:50 +0000
committerSimon Kaegi2008-02-15 22:52:50 +0000
commit0ac124d692b627e69e1328a7222cefa9555813e7 (patch)
tree95f9be63b68cc8f544c5ad05139011d9e3b100ac /bundles/org.eclipse.equinox.p2.exemplarysetup
parent8b2084e707b6444faa955f546c973faff337ca19 (diff)
downloadrt.equinox.p2-0ac124d692b627e69e1328a7222cefa9555813e7.tar.gz
rt.equinox.p2-0ac124d692b627e69e1328a7222cefa9555813e7.tar.xz
rt.equinox.p2-0ac124d692b627e69e1328a7222cefa9555813e7.zip
Bug 218741 [prov] Improve Profile/Install Registry Formatv20080216-2219
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.exemplarysetup')
-rw-r--r--bundles/org.eclipse.equinox.p2.exemplarysetup/META-INF/MANIFEST.MF1
-rw-r--r--bundles/org.eclipse.equinox.p2.exemplarysetup/src/org/eclipse/equinox/internal/p2/exemplarysetup/Activator.java17
2 files changed, 0 insertions, 18 deletions
diff --git a/bundles/org.eclipse.equinox.p2.exemplarysetup/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.p2.exemplarysetup/META-INF/MANIFEST.MF
index 106017456..ac62ec81f 100644
--- a/bundles/org.eclipse.equinox.p2.exemplarysetup/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.equinox.p2.exemplarysetup/META-INF/MANIFEST.MF
@@ -9,7 +9,6 @@ Import-Package: org.eclipse.equinox.internal.p2.core,
org.eclipse.equinox.internal.p2.director,
org.eclipse.equinox.internal.p2.engine,
org.eclipse.equinox.internal.p2.garbagecollector,
- org.eclipse.equinox.internal.p2.installregistry,
org.eclipse.equinox.internal.p2.metadata.repository,
org.eclipse.equinox.internal.provisional.p2.core.eventbus,
org.eclipse.equinox.internal.provisional.p2.core.location,
diff --git a/bundles/org.eclipse.equinox.p2.exemplarysetup/src/org/eclipse/equinox/internal/p2/exemplarysetup/Activator.java b/bundles/org.eclipse.equinox.p2.exemplarysetup/src/org/eclipse/equinox/internal/p2/exemplarysetup/Activator.java
index a9ae33256..c3504f9ce 100644
--- a/bundles/org.eclipse.equinox.p2.exemplarysetup/src/org/eclipse/equinox/internal/p2/exemplarysetup/Activator.java
+++ b/bundles/org.eclipse.equinox.p2.exemplarysetup/src/org/eclipse/equinox/internal/p2/exemplarysetup/Activator.java
@@ -16,8 +16,6 @@ import org.eclipse.equinox.internal.p2.director.SimplePlanner;
import org.eclipse.equinox.internal.p2.engine.MetadataCache;
import org.eclipse.equinox.internal.p2.engine.SimpleProfileRegistry;
import org.eclipse.equinox.internal.p2.garbagecollector.GarbageCollector;
-import org.eclipse.equinox.internal.p2.installregistry.IInstallRegistry;
-import org.eclipse.equinox.internal.p2.installregistry.InstallRegistry;
import org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager;
import org.eclipse.equinox.internal.provisional.p2.core.eventbus.IProvisioningEventBus;
import org.eclipse.equinox.internal.provisional.p2.director.IDirector;
@@ -32,9 +30,6 @@ public class Activator implements BundleActivator {
private IProvisioningEventBus bus;
private ServiceRegistration registrationBus;
- private IInstallRegistry installRegistry;
- private ServiceRegistration registrationInstallRegistry;
-
private MetadataRepositoryManager defaultManager;
private ServiceRegistration registrationDefaultManager;
@@ -56,7 +51,6 @@ public class Activator implements BundleActivator {
registerEventBus();
//create the profile registry
- registerInstallRegistry();
registerProfileRegistry();
//create metadata repositories
registerDefaultMetadataRepoManager();
@@ -82,7 +76,6 @@ public class Activator implements BundleActivator {
unregisterPlanner();
unregisterDefaultMetadataRepoManager();
unregisterProfileRegistry();
- unregisterInstallRegistry();
unregisterEventBus();
Activator.context = null;
@@ -149,16 +142,6 @@ public class Activator implements BundleActivator {
new MetadataCache();
}
- private void registerInstallRegistry() {
- installRegistry = new InstallRegistry();
- registrationInstallRegistry = context.registerService(IInstallRegistry.class.getName(), installRegistry, null);
- }
-
- private void unregisterInstallRegistry() {
- registrationInstallRegistry.unregister();
- registrationInstallRegistry = null;
- }
-
private void registerEventBus() {
bus = new ProvisioningEventBus();
registrationBus = context.registerService(IProvisioningEventBus.SERVICE_NAME, bus, null);

Back to the top