Class BundleContextProvider.ContextBundleTracker

  • All Implemented Interfaces:
    org.osgi.util.tracker.BundleTrackerCustomizer
    Enclosing class:
    BundleContextProvider

    public class BundleContextProvider.ContextBundleTracker
    extends org.osgi.util.tracker.BundleTracker
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String _managedServerName  
      • Fields inherited from class org.osgi.util.tracker.BundleTracker

        context
    • Constructor Summary

      Constructors 
      Constructor Description
      ContextBundleTracker​(org.osgi.framework.BundleContext bundleContext, java.lang.String managedServerName)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object addingBundle​(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event)  
      void removedBundle​(org.osgi.framework.Bundle bundle, org.osgi.framework.BundleEvent event, java.lang.Object object)  
      • Methods inherited from class org.osgi.util.tracker.BundleTracker

        close, getBundles, getObject, getTracked, getTrackingCount, isEmpty, modifiedBundle, open, remove, size
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _managedServerName

        protected java.lang.String _managedServerName
    • Constructor Detail

      • ContextBundleTracker

        public ContextBundleTracker​(org.osgi.framework.BundleContext bundleContext,
                                    java.lang.String managedServerName)
    • 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
        Overrides:
        addingBundle in class org.osgi.util.tracker.BundleTracker
        See Also:
        BundleTracker.addingBundle(org.osgi.framework.Bundle, org.osgi.framework.BundleEvent)
      • 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
        Overrides:
        removedBundle in class org.osgi.util.tracker.BundleTracker
        See Also:
        BundleTracker.removedBundle(org.osgi.framework.Bundle, org.osgi.framework.BundleEvent, java.lang.Object)