org.jboss.osgi.resolver
Interface XCapability

All Superinterfaces:
org.osgi.resource.Capability, XAttachmentSupport, XAttributeSupport, XDirectiveSupport, XElement
All Known Subinterfaces:
XBundleCapability, XHostCapability, XIdentityCapability, XPackageCapability, XResourceCapability
All Known Implementing Classes:
AbstractBundleCapability, AbstractCapability, AbstractHostedCapability

public interface XCapability
extends XElement, XAttributeSupport, XDirectiveSupport, org.osgi.resource.Capability

An extension to the Capability

Since:
02-Jul-2010
Author:
thomas.diesler@jboss.com

Method Summary
<T extends XCapability>
T
adapt(Class<T> clazz)
          Adapt this capability to another type
 void validate()
          Validate the capability
 
Methods inherited from interface org.jboss.osgi.resolver.XAttachmentSupport
addAttachment, getAttachment, removeAttachment
 
Methods inherited from interface org.jboss.osgi.resolver.XAttributeSupport
getAttribute, getAttributes
 
Methods inherited from interface org.jboss.osgi.resolver.XDirectiveSupport
getDirective, getDirectives
 
Methods inherited from interface org.osgi.resource.Capability
equals, getAttributes, getDirectives, getNamespace, getResource, hashCode
 

Method Detail

validate

void validate()
Validate the capability


adapt

<T extends XCapability> T adapt(Class<T> clazz)
Adapt this capability to another type



Copyright © 2012 JBoss by Red Hat. All Rights Reserved.