public class AbstractBundleRequirement extends AbstractRequirement implements XBundleRequirement
XBundleRequirement
.Constructor and Description |
---|
AbstractBundleRequirement(XResource resource,
String namespace,
Map<String,Object> atts,
Map<String,String> dirs) |
Modifier and Type | Method and Description |
---|---|
XBundleRevision |
getResource()
Get the resource declaring this requirement.
|
XBundleRevision |
getRevision()
Get the bundle revision this requirement.
|
boolean |
matches(org.osgi.framework.wiring.BundleCapability cap) |
adapt, getAttribute, getAttributes, getDirective, getDirectives, getFilter, getFilterFromDirective, getNamespace, getPackageName, getSymbolicName, getValueFromFilter, getVersionRange, getVisibility, isDynamic, isOptional, matches, toString, validate
getAttachment, putAttachment, removeAttachment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
adapt, getFilter, isOptional, matches, validate
getAttachment, putAttachment, removeAttachment
getAttribute, getAttributes
getDirective, getDirectives
public XBundleRevision getResource()
XRequirement
getResource
in interface XBundleRequirement
getResource
in interface XRequirement
getResource
in interface org.osgi.framework.wiring.BundleRequirement
getResource
in interface org.osgi.resource.Requirement
getResource
in class AbstractRequirement
public XBundleRevision getRevision()
XBundleRequirement
getRevision
in interface XBundleRequirement
getRevision
in interface org.osgi.framework.wiring.BundleRequirement
public boolean matches(org.osgi.framework.wiring.BundleCapability cap)
matches
in interface org.osgi.framework.wiring.BundleRequirement
Copyright © 2013 JBoss by Red Hat. All rights reserved.