|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.osgi.framework.internal.core.ExportedPackageImpl
public class ExportedPackageImpl
Constructor Summary | |
---|---|
ExportedPackageImpl(ExportPackageDescription exportedPackage,
BundleLoaderProxy supplier)
|
Method Summary | |
---|---|
Bundle |
getExportingBundle()
Returns the bundle exporting the package associated with this exported package. |
Bundle[] |
getImportingBundles()
Returns the resolved bundles that are currently wired to this exported package. |
java.lang.String |
getName()
Returns the name of the package associated with this exported package. |
java.lang.String |
getSpecificationVersion()
Returns the version of this exported package. |
Version |
getVersion()
Returns the version of this exported package. |
boolean |
isRemovalPending()
Returns true if the package associated with this
ExportedPackage object has been exported by a bundle that
has been updated or uninstalled. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExportedPackageImpl(ExportPackageDescription exportedPackage, BundleLoaderProxy supplier)
Method Detail |
---|
public java.lang.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.public java.lang.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.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |