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, removeAttachment
getAttribute, getAttributes
getDirective, getDirectives
XResource getResource()
getResource
in interface org.osgi.resource.Capability
void validate()
<T extends XCapability> T adapt(Class<T> clazz)
Copyright © 2013 JBoss by Red Hat. All rights reserved.