public class BundleLoaderProxy extends Object implements RequiredBundle, BundleReference
| Constructor and Description |
|---|
BundleLoaderProxy(BundleHost bundle,
BundleDescription description) |
| Modifier and Type | Method and Description |
|---|---|
PackageSource |
createPackageSource(ExportPackageDescription export,
boolean storeSource) |
BundleLoader |
getBasicBundleLoader() |
Bundle |
getBundle()
Returns the bundle associated with this required bundle.
|
BundleData |
getBundleData() |
BundleDescription |
getBundleDescription() |
AbstractBundle |
getBundleHost() |
BundleLoader |
getBundleLoader() |
Bundle[] |
getRequiringBundles()
Returns the bundles that currently require this required bundle.
|
String |
getSymbolicName()
Returns the symbolic name of this required bundle.
|
Version |
getVersion()
Returns the version of this required bundle.
|
boolean |
inUse() |
boolean |
isRemovalPending()
Returns
true if the bundle associated with this
RequiredBundle object has been updated or uninstalled. |
boolean |
isStale() |
String |
toString() |
public BundleLoaderProxy(BundleHost bundle, BundleDescription description)
public BundleLoader getBundleLoader()
public BundleLoader getBasicBundleLoader()
public AbstractBundle getBundleHost()
public boolean isStale()
public Bundle getBundle()
RequiredBundlegetBundle in interface BundleReferencegetBundle in interface RequiredBundlenull if this
RequiredBundle object has become stale.public BundleData getBundleData()
public Bundle[] getRequiringBundles()
RequiredBundleIf 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. The array will be empty if no bundles require
this required package.public String getSymbolicName()
RequiredBundlegetSymbolicName in interface RequiredBundlepublic Version getVersion()
RequiredBundlegetVersion in interface RequiredBundleVersion.emptyVersion if no version information is
available.public boolean isRemovalPending()
RequiredBundletrue if the bundle associated with this
RequiredBundle object has been updated or uninstalled.isRemovalPending in interface RequiredBundletrue if the required bundle has been updated or
uninstalled, or if the RequiredBundle object has
become stale; false otherwise.public BundleDescription getBundleDescription()
public boolean inUse()
public PackageSource createPackageSource(ExportPackageDescription export, boolean storeSource)
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.