Class RequiredBundleImpl

    • Field Detail

      • m_felix

        private final Felix m_felix
      • m_toString

        private volatile java.lang.String m_toString
      • m_versionString

        private volatile java.lang.String m_versionString
    • Constructor Detail

      • RequiredBundleImpl

        public RequiredBundleImpl​(Felix felix,
                                  BundleImpl bundle)
    • Method Detail

      • getSymbolicName

        public java.lang.String getSymbolicName()
        Description copied from interface: RequiredBundle
        Returns the symbolic name of this required bundle.
        Specified by:
        getSymbolicName in interface RequiredBundle
        Returns:
        The symbolic name of this required bundle.
      • getBundle

        public Bundle getBundle()
        Description copied from interface: RequiredBundle
        Returns the bundle associated with this required bundle.
        Specified by:
        getBundle in interface RequiredBundle
        Returns:
        The bundle, or null if this RequiredBundle object has become stale.
      • getRequiringBundles

        public Bundle[] getRequiringBundles()
        Description copied from interface: RequiredBundle
        Returns the bundles that currently require this required bundle.

        If this required bundle is required and then re-exported by another bundle then all the requiring bundles of the re-exporting bundle are included in the returned array.

        Specified by:
        getRequiringBundles in interface RequiredBundle
        Returns:
        An array of bundles currently requiring this required bundle, or null if this RequiredBundle object has become stale. The array will be empty if no bundles require this required package.
      • isRemovalPending

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

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