public interface BundleCapability extends 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 name space 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 CapabilityMap<String,String> getDirectives()
Only the following list of directives have specified semantics:
effective
uses
mandatory -
only recognized for the osgi.wiring.bundle and
osgi.wiring.package
name spaces.
exclude - only
recognized for the osgi.wiring.package name space.
include - only
recognized for the osgi.wiring.package name space.
getDirectives in interface CapabilityMap<String,Object> getAttributes()
getAttributes in interface CapabilityBundleRevision getResource()
This method returns the same value as getRevision().
getResource in interface CapabilityCopyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.