All Superinterfaces:
JSBundleObject

@ProviderType public interface JSBundle extends JSBundleObject
Represents an OSGi bundle containing NPM packages and modules.
  • Method Details

    • getJSPackages

      Collection<JSPackage> getJSPackages()
      Returns the NPM packages provided by the OSGi bundle.
      Returns:
      the NPM packages
    • getResourceURL

      @Deprecated URL getResourceURL(String location)
      Deprecated.
      As of Athanasius (7.3.x), with no direct replacement
      Returns the URL of an OSGi bundle's resource.
      Returns:
      the URL of an OSGi bundle's resource
    • getVersion

      String getVersion()
      Returns the bundle's OSGi version.
      Returns:
      the bundle's OSGi version