Interface JSBundleTracker


@Deprecated public interface JSBundleTracker
Deprecated.
As of Mueller (7.2.x), with no direct replacement
This is an interface for registering OSGi services that get notified whenever the NPMRegistry is updated. JSBundleTracker objects can be registered with the NPMRegistry calling NPMRegistry.addJSBundleTracker(JSBundleTracker) or declaring them as OSGi services (in that case the NPMRegistry will find and attach them). The reason for NPMRegistry.addJSBundleTracker(JSBundleTracker) to exist is that sometimes you need to implement a JSBundleTracker in a service which depends on NPMRegistry and thus, you cannot declare it as a JSBundleTracker because OSGi will complain about a soft circular dependency.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    addedJSBundle(JSBundle jsBundle, org.osgi.framework.Bundle bundle, NPMRegistry npmRegistry)
    Deprecated.
     
    void
    removedJSBundle(JSBundle jsBundle, org.osgi.framework.Bundle bundle, NPMRegistry npmRegistry)
    Deprecated.
     
  • Method Details

    • addedJSBundle

      void addedJSBundle(JSBundle jsBundle, org.osgi.framework.Bundle bundle, NPMRegistry npmRegistry)
      Deprecated.
    • removedJSBundle

      void removedJSBundle(JSBundle jsBundle, org.osgi.framework.Bundle bundle, NPMRegistry npmRegistry)
      Deprecated.