public class AbstractBundleCapability extends AbstractCapability implements XBundleCapability
XBundleCapability
.Constructor and Description |
---|
AbstractBundleCapability(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 capability.
|
XBundleRevision |
getRevision()
Get the bundle revision this capability.
|
adapt, getAttribute, getAttributes, getDirective, getDirectives, getName, getNamespace, getPackageName, getType, getVersion, isSingleton, toString, validate
getAttachment, putAttachment, removeAttachment
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
adapt, validate
getAttachment, putAttachment, removeAttachment
getAttribute, getAttributes
getDirective, getDirectives
public XBundleRevision getResource()
XCapability
getResource
in interface XBundleCapability
getResource
in interface XCapability
getResource
in interface org.osgi.framework.wiring.BundleCapability
getResource
in interface org.osgi.resource.Capability
getResource
in class AbstractCapability
public XBundleRevision getRevision()
XBundleCapability
getRevision
in interface XBundleCapability
getRevision
in interface org.osgi.framework.wiring.BundleCapability
Copyright © 2013 JBoss by Red Hat. All rights reserved.