|
OSGi Service Platform Release 3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A provided bundle. Instances implementing this interface are created by the Package Admin service.
The information about a ProvidingBundle provided by this object is valid only until the next time PackageAdmin.refreshPackages() called. If a ProvidingBundle object becomes stale (that is, the bundle it references has been updated or removed as a result of calling PackageAdmin.refreshPackages()), its getSymbolicName() and getVersion() continue to return their old values, isRemovalPending() returns true, and getBundle() and getRequiringBundles() return null.
Method Summary | |
---|---|
Bundle |
getBundle()
Returns the providing bundle. |
Bundle[] |
getRequiringBundles()
Returns the resolved bundles that are currently require the providing bundle. |
java.lang.String |
getSymbolicName()
Returns the symbolic name of the providing bundle. |
java.lang.String |
getVersion()
Returns the version of the providing bundle. |
boolean |
isRemovalPending()
Returns true if the providing bundle has been updated or uninstalled. |
Method Detail |
public Bundle getBundle()
public Bundle[] getRequiringBundles()
public java.lang.String getSymbolicName()
public java.lang.String getVersion()
public boolean isRemovalPending()
|
OSGi Service Platform Release 3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |