org.jboss.osgi.resolver
Interface XRequirement

All Superinterfaces:
XAttachmentSupport, XAttributeSupport, XDirectiveSupport, XElement
All Known Subinterfaces:
XFragmentHostRequirement, XPackageRequirement, XRequireBundleRequirement
All Known Implementing Classes:
AbstractDynamicPackageRequirement, AbstractPackageRequirement

public interface XRequirement
extends XElement, XAttributeSupport, XDirectiveSupport, XAttachmentSupport

A requirement

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

Method Summary
 XModule getModule()
          Get associated module.
 XCapability getWiredCapability()
          Get the wired capbillity for this requirement.
 boolean isDynamic()
          True if this is a dynamic requirement.
 boolean isOptional()
          True if this requirement is optional
 
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.


isOptional

boolean isOptional()
True if this requirement is optional


isDynamic

boolean isDynamic()
True if this is a dynamic requirement.


getWiredCapability

XCapability getWiredCapability()
Get the wired capbillity for this requirement.

Returns:
The wired capabillity or null


Copyright © 2012. All Rights Reserved.