Class RequiredBundleImpl
java.lang.Object
org.apache.felix.framework.RequiredBundleImpl
- All Implemented Interfaces:
RequiredBundle
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final BundleImplprivate final Felixprivate Stringprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the bundle associated with this required bundle.Bundle[]Returns the bundles that currently require this required bundle.Returns the symbolic name of this required bundle.Returns the version of this required bundle.booleanReturnstrueif the bundle associated with thisRequiredBundleobject has been updated or uninstalled.toString()
-
Field Details
-
m_felix
-
m_bundle
-
m_toString
-
m_versionString
-
-
Constructor Details
-
RequiredBundleImpl
-
-
Method Details
-
getSymbolicName
Description copied from interface:RequiredBundleReturns the symbolic name of this required bundle.- Specified by:
getSymbolicNamein interfaceRequiredBundle- Returns:
- The symbolic name of this required bundle.
-
getBundle
Description copied from interface:RequiredBundleReturns the bundle associated with this required bundle.- Specified by:
getBundlein interfaceRequiredBundle- Returns:
- The bundle, or
nullif thisRequiredBundleobject has become stale.
-
getRequiringBundles
Description copied from interface:RequiredBundleReturns the bundles that currently require this required bundle.If 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.
- Specified by:
getRequiringBundlesin interfaceRequiredBundle- Returns:
- An array of bundles currently requiring this required bundle, or
nullif thisRequiredBundleobject has become stale. The array will be empty if no bundles require this required package.
-
getVersion
Description copied from interface:RequiredBundleReturns the version of this required bundle.- Specified by:
getVersionin interfaceRequiredBundle- Returns:
- The version of this required bundle, or
Version.emptyVersionif no version information is available.
-
isRemovalPending
public boolean isRemovalPending()Description copied from interface:RequiredBundleReturnstrueif the bundle associated with thisRequiredBundleobject has been updated or uninstalled.- Specified by:
isRemovalPendingin interfaceRequiredBundle- Returns:
trueif the required bundle has been updated or uninstalled, or if theRequiredBundleobject has become stale;falseotherwise.
-
toString
-