|
OSGi™ Service Platform Core Specification Release 4 Version 4.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BundleRequirement
A requirement 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 requirement. |
java.util.Map<java.lang.String,java.lang.String> |
getDirectives()
Returns the directives of this requirement. |
java.lang.String |
getNamespace()
Returns the name space of this requirement. |
BundleRevision |
getRevision()
Returns the bundle revision declaring this requirement. |
boolean |
matches(BundleCapability capability)
Returns whether the specified capability matches this requirement. |
Method Detail |
---|
java.lang.String getNamespace()
java.util.Map<java.lang.String,java.lang.String> getDirectives()
java.util.Map<java.lang.String,java.lang.Object> getAttributes()
BundleRevision getRevision()
boolean matches(BundleCapability capability)
capability
- The capability to match to this requirement.
true
if the specified capability has the same
name space
as this requirement and the
filter for this requirement matches the
attributes of the
specified capability
; false
otherwise.
|
OSGi™ Service Platform Core Specification Release 4 Version 4.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |