org.osgi.framework.wiring
Interface BundleCapability

All Known Implementing Classes:
BundleCapabilityImpl, HostedCapability

public interface BundleCapability

A capability that has been declared from a bundle revision.

Version:
$Id: 0fde13c3228af1aa97872b37ccf0aa6e23123b11 $

Method Summary
 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 getRevision()
          Returns the bundle revision declaring this capability.
 

Method Detail

getNamespace

String getNamespace()
Returns the name space of this capability.

Returns:
The name space of this capability.

getDirectives

Map<String,String> getDirectives()
Returns the directives of this capability.

Returns:
An unmodifiable map of directive names to directive values for this capability, or an empty map if this capability has no directives.

getAttributes

Map<String,Object> getAttributes()
Returns the attributes of this capability.

Returns:
An unmodifiable map of attribute names to attribute values for this capability, or an empty map if this capability has no attributes.

getRevision

BundleRevision getRevision()
Returns the bundle revision declaring this capability.

Returns:
The bundle revision declaring this capability.


Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.