public class ExportedPackageImpl extends Object implements ExportedPackage
| Constructor and Description |
|---|
ExportedPackageImpl(ExportPackageDescription exportedPackage,
BundleLoaderProxy supplier)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Bundle |
getExportingBundle()
Deprecated.
Returns the bundle exporting the package associated with this exported
package.
|
Bundle[] |
getImportingBundles()
Deprecated.
Returns the resolved bundles that are currently wired to this exported
package.
|
String |
getName()
Deprecated.
Returns the name of the package associated with this exported package.
|
String |
getSpecificationVersion()
Deprecated.
|
Version |
getVersion()
Deprecated.
Returns the version of this exported package.
|
boolean |
isRemovalPending()
Deprecated.
Returns
true if the package associated with this
ExportedPackage object has been exported by a bundle that
has been updated or uninstalled. |
String |
toString()
Deprecated.
|
public ExportedPackageImpl(ExportPackageDescription exportedPackage, BundleLoaderProxy supplier)
public String getName()
ExportedPackagegetName in interface ExportedPackagepublic Bundle getExportingBundle()
ExportedPackagegetExportingBundle in interface ExportedPackagenull if this
ExportedPackage object has become stale.public Bundle[] getImportingBundles()
ExportedPackage
Bundles which require the exporting bundle associated with this exported
package are considered to be wired to this exported package are included
in the returned array. See RequiredBundle.getRequiringBundles().
getImportingBundles in interface ExportedPackagenull if this
ExportedPackage object has become stale. The array
will be empty if no bundles are wired to this exported package.public String getSpecificationVersion()
ExportedPackagegetSpecificationVersion in interface ExportedPackagenull if no
version information is available.public Version getVersion()
ExportedPackagegetVersion in interface ExportedPackageVersion.emptyVersion if no version information is
available.public boolean isRemovalPending()
ExportedPackagetrue if the package associated with this
ExportedPackage object has been exported by a bundle that
has been updated or uninstalled.isRemovalPending in interface ExportedPackagetrue if the associated package is being exported
by a bundle that has been updated or uninstalled, or if this
ExportedPackage object has become stale;
false otherwise.Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.