diff options
author | slewis | 2009-09-16 05:31:52 +0000 |
---|---|---|
committer | slewis | 2009-09-16 05:31:52 +0000 |
commit | f83039e0788a531d38796aeb69797d6518b8b1d2 (patch) | |
tree | 607d5891d148c9350bf047f9a576db2fefa22df4 | |
parent | f53454a2eab4446089e407a101957ca37d233a54 (diff) | |
download | org.eclipse.ecf-f83039e0788a531d38796aeb69797d6518b8b1d2.tar.gz org.eclipse.ecf-f83039e0788a531d38796aeb69797d6518b8b1d2.tar.xz org.eclipse.ecf-f83039e0788a531d38796aeb69797d6518b8b1d2.zip |
Fix for bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=288781
-rw-r--r-- | compendium/bundles/org.eclipse.ecf.osgi.services.discovery.local/src/org/eclipse/ecf/osgi/services/discovery/local/FileBasedDiscoveryImpl.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery.local/src/org/eclipse/ecf/osgi/services/discovery/local/FileBasedDiscoveryImpl.java b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery.local/src/org/eclipse/ecf/osgi/services/discovery/local/FileBasedDiscoveryImpl.java index b5abb5483..c1f6860f9 100644 --- a/compendium/bundles/org.eclipse.ecf.osgi.services.discovery.local/src/org/eclipse/ecf/osgi/services/discovery/local/FileBasedDiscoveryImpl.java +++ b/compendium/bundles/org.eclipse.ecf.osgi.services.discovery.local/src/org/eclipse/ecf/osgi/services/discovery/local/FileBasedDiscoveryImpl.java @@ -95,9 +95,6 @@ public class FileBasedDiscoveryImpl implements Discovery { */ public void init() { log(LogService.LOG_DEBUG, "init"); - // 36 stands for bundle states RESOLVED OR ACTIVE - bt = new BundleTracker(context, 36, new BundleTrackerImpl(this)); - bt.open(); discoTrackerCustomizer = new DSTTracker(context); discoTracker = new ServiceTracker(context, DiscoveredServiceTracker.class.getName(), @@ -106,7 +103,9 @@ public class FileBasedDiscoveryImpl implements Discovery { spTracker = new ServiceTracker(context, ServicePublication.class .getName(), new ServicePublicationTracker(context, this)); spTracker.open(); - + // 36 stands for bundle states RESOLVED OR ACTIVE + bt = new BundleTracker(context, 36, new BundleTrackerImpl(this)); + bt.open(); } /** |