public class RequiredBundleImpl extends java.lang.Object implements RequiredBundle
限定符和类型 | 方法和说明 |
---|---|
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
在接口中 RequiredBundle
public Bundle getBundle()
getBundle
在接口中 RequiredBundle
null
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
在接口中 RequiredBundle
null
if this RequiredBundle
object
has become stale.public Version getVersion()
getVersion
在接口中 RequiredBundle
Version.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
在接口中 RequiredBundle
true
if the reqiured bundle has been updated or
uninstalled, or if the RequiredBundle
object has
become stale; false
otherwise.