Class ExportedPackageImpl

    • Field Detail

      • m_felix

        private final Felix m_felix
      • m_exportingBundle

        private final BundleImpl m_exportingBundle
      • m_exportingRevision

        private final BundleRevision m_exportingRevision
      • m_pkgName

        private final java.lang.String m_pkgName
      • m_version

        private final Version m_version
    • Method Detail

      • getExportingBundle

        public Bundle getExportingBundle()
        Description copied from interface: ExportedPackage
        Returns the bundle exporting the package associated with this exported package.
        Specified by:
        getExportingBundle in interface ExportedPackage
        Returns:
        The exporting bundle, or null if this ExportedPackage object has become stale.
      • getImportingBundles

        public Bundle[] getImportingBundles()
        Description copied from interface: ExportedPackage
        Returns the resolved bundles that are currently wired to this exported package.

        Bundles which require the exporting bundle associated with this exported package are considered to be wired to this exported package are included in the returned array. See RequiredBundle.getRequiringBundles().

        Specified by:
        getImportingBundles in interface ExportedPackage
        Returns:
        The array of resolved bundles currently wired to this exported package, or null if this ExportedPackage object has become stale. The array will be empty if no bundles are wired to this exported package.
      • getName

        public java.lang.String getName()
        Description copied from interface: ExportedPackage
        Returns the name of the package associated with this exported package.
        Specified by:
        getName in interface ExportedPackage
        Returns:
        The name of this exported package.
      • getSpecificationVersion

        public java.lang.String getSpecificationVersion()
        Description copied from interface: ExportedPackage
        Returns the version of this exported package.
        Specified by:
        getSpecificationVersion in interface ExportedPackage
        Returns:
        The version of this exported package, or null if no version information is available.
      • isRemovalPending

        public boolean isRemovalPending()
        Description copied from interface: ExportedPackage
        Returns true if the package associated with this ExportedPackage object has been exported by a bundle that has been updated or uninstalled.
        Specified by:
        isRemovalPending in interface ExportedPackage
        Returns:
        true if the associated package is being exported by a bundle that has been updated or uninstalled, or if this ExportedPackage object has become stale; false otherwise.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object