@Deprecated
public interface JSBundleTracker
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.| Modifier and Type | Method and 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.
|
void addedJSBundle(JSBundle jsBundle, org.osgi.framework.Bundle bundle, NPMRegistry npmRegistry)
void removedJSBundle(JSBundle jsBundle, org.osgi.framework.Bundle bundle, NPMRegistry npmRegistry)