public class RequiredBundleImpl extends java.lang.Object implements RequiredBundle
| Modifier and Type | Method and Description |
|---|---|
Bundle |
getBundle()
Returns the bundle associated with this required bundle.
|
Bundle[] |
getRequiringBundles()
Returns the bundles that currently require this required bundle.
|
java.lang.String |
getSymbolicName()
Returns the symbolic name of 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. |
public java.lang.String getSymbolicName()
getSymbolicName in interface RequiredBundlepublic Bundle getBundle()
getBundle in interface RequiredBundlenull if this
RequiredBundle object has become stale.public Bundle[] getRequiringBundles()
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.
getRequiringBundles in interface RequiredBundlenull if this RequiredBundle object
has become stale.public Version getVersion()
getVersion in interface RequiredBundleVersion.emptyVersion if no version information is
available.public boolean isRemovalPending()
true if the bundle associated with this
RequiredBundle object has been updated or uninstalled.isRemovalPending in interface RequiredBundletrue if the reqiured bundle has been updated or
uninstalled, or if the RequiredBundle object has
become stale; false otherwise.