public interface XCapability extends XElement, XAttributeSupport, XDirectiveSupport, org.osgi.resource.Capability
Capability| Modifier and Type | Method and Description |
|---|---|
<T extends XCapability> |
adapt(Class<T> clazz)
Adapt this capability to another type
|
XResource |
getResource()
Get the resource declaring this capability.
|
void |
validate()
Validate the capability
|
getAttachment, putAttachment, removeAttachmentgetAttribute, getAttributesgetDirective, getDirectivesXResource getResource()
getResource in interface org.osgi.resource.Capabilityvoid validate()
<T extends XCapability> T adapt(Class<T> clazz)
Copyright © 2016 JBoss by Red Hat. All rights reserved.