Class ExtensionManager.ExtensionManagerRevision
java.lang.Object
org.apache.felix.framework.BundleRevisionImpl
org.apache.felix.framework.ExtensionManager.ExtensionManagerRevision
- All Implemented Interfaces:
BundleReference, BundleRevision, Resource
- Enclosing class:
ExtensionManager
-
Field Summary
FieldsFields inherited from class BundleRevisionImpl
EAGER_ACTIVATION, LAZY_ACTIVATIONFields inherited from interface BundleRevision
BUNDLE_NAMESPACE, HOST_NAMESPACE, PACKAGE_NAMESPACE, TYPE_FRAGMENT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()getDeclaredCapabilities(String namespace) Returns the capabilities declared by this bundle revision.getInputStream(int index, String urlPath) getLocalURL(int index, String urlPath) Returns the symbolic name for this bundle revision.Returns the version for this bundle revision.Returns the bundle wiring which is using this bundle revision.booleanhasInputStream(int index, String urlPath) voidresolve(BundleWiringImpl wire) Methods inherited from class BundleRevisionImpl
asCapabilityList, asRequirementList, getBundle, getCapabilities, getContentPath, getDeclaredActivationPolicy, getDeclaredNativeLibraries, getDeclaredRequirements, getId, getManifestVersion, getProtectionDomain, getRequirements, getResourceLocal, getResourcesLocal, getSecureAction, getTypes, isActivationTrigger, isExtension, resetContent, setProtectionDomain, toString
-
Field Details
-
m_version
-
m_wiring
-
-
Constructor Details
-
ExtensionManagerRevision
ExtensionManagerRevision(Felix felix)
-
-
Method Details
-
getHeaders
- Overrides:
getHeadersin classBundleRevisionImpl
-
getDeclaredCapabilities
Description copied from interface:BundleRevisionReturns the capabilities declared by this bundle revision.- Specified by:
getDeclaredCapabilitiesin interfaceBundleRevision- Overrides:
getDeclaredCapabilitiesin classBundleRevisionImpl- Parameters:
namespace- The namespace of the declared capabilities to return ornullto return the declared capabilities from all namespaces.- Returns:
- An unmodifiable list containing the declared
BundleCapabilitys from the specified namespace. The returned list will be empty if this bundle revision declares no capabilities in the specified namespace. The list contains the declared capabilities in the order they are specified in the manifest.
-
getSymbolicName
Description copied from interface:BundleRevisionReturns the symbolic name for this bundle revision.- Specified by:
getSymbolicNamein interfaceBundleRevision- Overrides:
getSymbolicNamein classBundleRevisionImpl- Returns:
- The symbolic name for this bundle revision.
- See Also:
-
getVersion
Description copied from interface:BundleRevisionReturns the version for this bundle revision.- Specified by:
getVersionin interfaceBundleRevision- Overrides:
getVersionin classBundleRevisionImpl- Returns:
- The version for this bundle revision, or
Version.emptyVersionif this bundle revision has no version information. - See Also:
-
close
public void close()- Overrides:
closein classBundleRevisionImpl
-
getContent
- Overrides:
getContentin classBundleRevisionImpl
-
getEntry
- Overrides:
getEntryin classBundleRevisionImpl
-
hasInputStream
- Overrides:
hasInputStreamin classBundleRevisionImpl
-
getInputStream
- Overrides:
getInputStreamin classBundleRevisionImpl
-
getLocalURL
- Overrides:
getLocalURLin classBundleRevisionImpl
-
resolve
- Overrides:
resolvein classBundleRevisionImpl
-
getWiring
Description copied from interface:BundleRevisionReturns the bundle wiring which is using this bundle revision.- Specified by:
getWiringin interfaceBundleRevision- Overrides:
getWiringin classBundleRevisionImpl- Returns:
- The bundle wiring which is using this bundle revision or
nullif no bundle wiring is using this bundle revision. - See Also:
-