|
OSGi™ Core Release 5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BundleCapability
A capability that has been declared from a bundle
revision.
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getAttributes()
Returns the attributes of this capability. |
java.util.Map<java.lang.String,java.lang.String> |
getDirectives()
Returns the directives of this capability. |
java.lang.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()
java.lang.String getNamespace()
getNamespace in interface Capabilityjava.util.Map<java.lang.String,java.lang.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 Capabilityjava.util.Map<java.lang.String,java.lang.Object> getAttributes()
getAttributes in interface CapabilityBundleRevision getResource()
This method returns the same value as getRevision().
getResource in interface Capability
|
OSGi™ Core Release 5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||