org.eclipse.ecf.osgi.services.discovery.local
Class BundleTrackerImpl

java.lang.Object
  extended by org.eclipse.ecf.osgi.services.discovery.local.BundleTrackerImpl
All Implemented Interfaces:
org.osgi.util.tracker.BundleTrackerCustomizer

public class BundleTrackerImpl
extends java.lang.Object
implements org.osgi.util.tracker.BundleTrackerCustomizer


Constructor Summary
BundleTrackerImpl(FileBasedDiscoveryImpl disco)
           
 
Method Summary
 java.lang.Object addingBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event)
           
 void modifiedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, java.lang.Object object)
           
 void removedBundle(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BundleTrackerImpl

public BundleTrackerImpl(FileBasedDiscoveryImpl disco)
Parameters:
disco - the FileBasedDiscovery implementation that publishes and unpublishes file based seds.
Method Detail

addingBundle

public java.lang.Object addingBundle(org.osgi.framework.Bundle bundle,
                                     org.osgi.framework.BundleEvent event)
Specified by:
addingBundle in interface org.osgi.util.tracker.BundleTrackerCustomizer
See Also:
BundleTrackerCustomizer.addingBundle(org.osgi.framework.Bundle, org.osgi.framework.BundleEvent)

modifiedBundle

public void modifiedBundle(org.osgi.framework.Bundle bundle,
                           org.osgi.framework.BundleEvent event,
                           java.lang.Object object)
Specified by:
modifiedBundle in interface org.osgi.util.tracker.BundleTrackerCustomizer
See Also:
BundleTrackerCustomizer.modifiedBundle(org.osgi.framework.Bundle, org.osgi.framework.BundleEvent, java.lang.Object)

removedBundle

public void removedBundle(org.osgi.framework.Bundle bundle,
                          org.osgi.framework.BundleEvent event,
                          java.lang.Object object)
Specified by:
removedBundle in interface org.osgi.util.tracker.BundleTrackerCustomizer
See Also:
BundleTrackerCustomizer.removedBundle(org.osgi.framework.Bundle, org.osgi.framework.BundleEvent, java.lang.Object)