org.jboss.osgi.resolver
Interface XCapability

All Superinterfaces:
XAttachmentSupport, XAttributeSupport, XDirectiveSupport, XElement
All Known Subinterfaces:
XBundleCapability, XPackageCapability

public interface XCapability
extends XElement, XAttributeSupport, XDirectiveSupport, XAttachmentSupport

A capability

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

Method Summary
 XModule getModule()
          Get associated module.
 Set<XRequirement> getWiredRequirements()
          Get the set of requirements that this capability is wired to
 
Methods inherited from interface org.jboss.osgi.resolver.XElement
getName
 
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.jboss.osgi.resolver.XAttachmentSupport
addAttachment, getAttachment, removeAttachment
 

Method Detail

getModule

XModule getModule()
Get associated module.


getWiredRequirements

Set<XRequirement> getWiredRequirements()
Get the set of requirements that this capability is wired to

Returns:
The requirements or null if the capbility belongs to an unresolved module.


Copyright © 2010. All Rights Reserved.