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 TypeMethodDescriptionvoidaddedJSBundle(JSBundle jsBundle, org.osgi.framework.Bundle bundle, NPMRegistry npmRegistry) Deprecated.voidremovedJSBundle(JSBundle jsBundle, org.osgi.framework.Bundle bundle, NPMRegistry npmRegistry) Deprecated.
-
Method Details
-
addedJSBundle
Deprecated. -
removedJSBundle
Deprecated.
-