|
OSGi™ Core Release 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType public interface BundleCapability
A capability that has been declared from a bundle
revision
.
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 namespace of this capability. |
BundleRevision |
getResource()
Returns the resource declaring this capability. |
BundleRevision |
getRevision()
Returns the bundle revision declaring this capability. |
Methods inherited from interface org.osgi.resource.Capability |
---|
equals, hashCode |
Method Detail |
---|
BundleRevision getRevision()
String getNamespace()
getNamespace
in interface Capability
Map<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 Capability
Map<String,Object> getAttributes()
getAttributes
in interface Capability
BundleRevision getResource()
This method returns the same value as getRevision()
.
getResource
in interface Capability
|
OSGi™ Core Release 6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |