Definition at line 46 of file RequiredBundleImpl.java.
Public Member Functions | |
String | getSymbolicName () |
Returns the symbolic name of this required bundle. | |
Bundle | getBundle () |
Returns the bundle associated with this required bundle. | |
Bundle[] | getRequiringBundles () |
Returns the bundles that currently require this required bundle. | |
Version | getVersion () |
Returns the version of this required bundle. | |
boolean | isRemovalPending () |
Returns true if the bundle associated with this RequiredBundle object has been updated or uninstalled. |
String org.knopflerfish.framework.RequiredBundleImpl.getSymbolicName | ( | ) |
Returns the symbolic name of this required bundle.
Implements org.osgi.service.packageadmin.RequiredBundle.
Definition at line 66 of file RequiredBundleImpl.java.
References org.knopflerfish.framework.BundlePackages.bundle, and org.knopflerfish.framework.BundleImpl.symbolicName.
Bundle org.knopflerfish.framework.RequiredBundleImpl.getBundle | ( | ) |
Returns the bundle associated with this required bundle.
null
if this RequiredBundle
object has become stale. Implements org.osgi.service.packageadmin.RequiredBundle.
Definition at line 77 of file RequiredBundleImpl.java.
References org.knopflerfish.framework.BundlePackages.bundle, and org.knopflerfish.framework.BundlePackages.isRegistered().
Bundle [] org.knopflerfish.framework.RequiredBundleImpl.getRequiringBundles | ( | ) |
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.
null
if this RequiredBundle
object has become stale. Implements org.osgi.service.packageadmin.RequiredBundle.
Definition at line 98 of file RequiredBundleImpl.java.
References org.knopflerfish.framework.BundlePackages.getRequiredBy(), and org.knopflerfish.framework.BundlePackages.isRegistered().
Version org.knopflerfish.framework.RequiredBundleImpl.getVersion | ( | ) |
Returns the version of this required bundle.
Implements org.osgi.service.packageadmin.RequiredBundle.
Definition at line 118 of file RequiredBundleImpl.java.
References org.knopflerfish.framework.BundlePackages.bundle, and org.knopflerfish.framework.BundleImpl.version.
boolean org.knopflerfish.framework.RequiredBundleImpl.isRemovalPending | ( | ) |
Returns true
if the bundle associated with this RequiredBundle
object has been updated or uninstalled.
true
if the reqiured bundle has been updated or uninstalled, or if the RequiredBundle
object has become stale; false
otherwise. Implements org.osgi.service.packageadmin.RequiredBundle.
Definition at line 131 of file RequiredBundleImpl.java.
References org.knopflerfish.framework.BundleImpl.bpkgs, and org.knopflerfish.framework.BundlePackages.bundle.