Interface Capability
- All Known Implementing Classes:
CapabilityImpl
,OSGiCapabilityAdapter
public interface Capability
A named set of properties representing some capability that is provided by
its owner.
- Version:
- $Revision: 1.3 $
-
Field Details
-
BUNDLE
- See Also:
-
FRAGMENT
- See Also:
-
PACKAGE
- See Also:
-
SERVICE
- See Also:
-
EXECUTIONENVIRONMENT
- See Also:
-
-
Method Details
-
getName
String getName()Return the name of the capability. -
getProperties
Property[] getProperties()Return the properties of this capability- Returns:
-
getPropertiesAsMap
Return the map of properties.- Returns:
- a Mapinvalid input: '<'String,Object>
-
getDirectives
Return the directives of this capability. The returned map can not be modified.- Returns:
- a Map of directives or an empty map there are no directives.
-