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()
ExportedPackage
getName
in interface ExportedPackage
public Bundle getExportingBundle()
ExportedPackage
getExportingBundle
in interface ExportedPackage
null
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 ExportedPackage
null
if this
ExportedPackage
object has become stale. The array
will be empty if no bundles are wired to this exported package.public String getSpecificationVersion()
ExportedPackage
getSpecificationVersion
in interface ExportedPackage
null
if no
version information is available.public Version getVersion()
ExportedPackage
getVersion
in interface ExportedPackage
Version.emptyVersion
if no version information is
available.public boolean isRemovalPending()
ExportedPackage
true
if the package associated with this
ExportedPackage
object has been exported by a bundle that
has been updated or uninstalled.isRemovalPending
in interface ExportedPackage
true
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–2018 The Apache Software Foundation. All rights reserved.