class ExtensionManager.ExtensionManagerRevision extends BundleRevisionImpl
| Modifier and Type | Field and Description |
|---|---|
private Version |
m_version |
private BundleWiring |
m_wiring |
EAGER_ACTIVATION, LAZY_ACTIVATIONBUNDLE_NAMESPACE, HOST_NAMESPACE, PACKAGE_NAMESPACE, TYPE_FRAGMENT| Constructor and Description |
|---|
ExtensionManagerRevision(Felix felix) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Content |
getContent() |
java.util.List<BundleCapability> |
getDeclaredCapabilities(java.lang.String namespace)
Returns the capabilities declared by this bundle revision.
|
java.net.URL |
getEntry(java.lang.String name) |
java.util.Map |
getHeaders() |
java.io.InputStream |
getInputStream(int index,
java.lang.String urlPath) |
java.net.URL |
getLocalURL(int index,
java.lang.String urlPath) |
java.lang.String |
getSymbolicName()
Returns the symbolic name for this bundle revision.
|
Version |
getVersion()
Returns the version for this bundle revision.
|
BundleWiring |
getWiring()
Returns the bundle wiring which is using this bundle revision.
|
boolean |
hasInputStream(int index,
java.lang.String urlPath) |
void |
resolve(BundleWiringImpl wire) |
asCapabilityList, asRequirementList, getBundle, getCapabilities, getContentPath, getDeclaredActivationPolicy, getDeclaredNativeLibraries, getDeclaredRequirements, getId, getManifestVersion, getProtectionDomain, getRequirements, getResourceLocal, getResourcesLocal, getSecureAction, getTypes, isActivationTrigger, isExtension, resetContent, setProtectionDomain, toStringprivate final Version m_version
private volatile BundleWiring m_wiring
ExtensionManagerRevision(Felix felix)
public java.util.Map getHeaders()
getHeaders in class BundleRevisionImplpublic java.util.List<BundleCapability> getDeclaredCapabilities(java.lang.String namespace)
BundleRevisiongetDeclaredCapabilities in interface BundleRevisiongetDeclaredCapabilities in class BundleRevisionImplnamespace - The namespace of the declared capabilities to return or
null to return the declared capabilities from all
namespaces.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.public java.lang.String getSymbolicName()
BundleRevisiongetSymbolicName in interface BundleRevisiongetSymbolicName in class BundleRevisionImplBundle.getSymbolicName()public Version getVersion()
BundleRevisiongetVersion in interface BundleRevisiongetVersion in class BundleRevisionImplVersion.emptyVersion if this bundle revision has no
version information.Bundle.getVersion()public void close()
close in class BundleRevisionImplpublic Content getContent()
getContent in class BundleRevisionImplpublic java.net.URL getEntry(java.lang.String name)
getEntry in class BundleRevisionImplpublic boolean hasInputStream(int index,
java.lang.String urlPath)
hasInputStream in class BundleRevisionImplpublic java.io.InputStream getInputStream(int index,
java.lang.String urlPath)
getInputStream in class BundleRevisionImplpublic java.net.URL getLocalURL(int index,
java.lang.String urlPath)
getLocalURL in class BundleRevisionImplpublic void resolve(BundleWiringImpl wire)
resolve in class BundleRevisionImplpublic BundleWiring getWiring()
BundleRevisiongetWiring in interface BundleRevisiongetWiring in class BundleRevisionImplnull if no bundle wiring is using this bundle revision.BundleWiring.getRevision()