org.osgi.framework.wiring
public interface BundleRequirement
bundle
revision
.Modifier and Type | Method and Description |
---|---|
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.
|
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.Copyright © 2014. All Rights Reserved.