|
||||||||||
| 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 name space of this capability. |
BundleRevision |
getResource()
Returns the resource declaring this capability. |
BundleRevision |
getRevision()
Returns the bundle revision declaring this capability. |
| Method Detail |
|---|
BundleRevision getRevision()
java.lang.String getNamespace()
getNamespace in interface Capabilityjava.util.Map<java.lang.String,java.lang.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 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||