@ProviderType
public interface BundleCapability
extends org.osgi.resource.Capability
bundle
revision.| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAttributes()
Returns the attributes of this capability.
|
Map<String,String> |
getDirectives()
Returns the directives of this capability.
|
String |
getNamespace()
Returns the namespace of this capability.
|
BundleRevision |
getResource()
Returns the resource declaring this capability.
|
BundleRevision |
getRevision()
Returns the bundle revision declaring this capability.
|
BundleRevision getRevision()
String getNamespace()
getNamespace in interface org.osgi.resource.CapabilityMap<String,String> getDirectives()
All capability directives not specified by the
wiring namespaces have no specified
semantics and are considered extra user defined information.
getDirectives in interface org.osgi.resource.CapabilityMap<String,Object> getAttributes()
getAttributes in interface org.osgi.resource.CapabilityBundleRevision getResource()
This method returns the same value as getRevision().
getResource in interface org.osgi.resource.CapabilityCopyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0