org.jboss.osgi.resolver
Interface XPackageRequirement

All Superinterfaces:
XAttachmentSupport, XAttributeSupport, XDirectiveSupport, XElement, XRequirement
All Known Implementing Classes:
AbstractPackageRequirement

public interface XPackageRequirement
extends XRequirement

A package requirement

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

Method Summary
 String getBundleSymbolicName()
          The bundle symbolic name of the exporting bundle
 Version getBundleVersion()
          The bundle version of the exporting bundle
 String getResolution()
          The required resolution
 XVersionRange getVersionRange()
          Get the required version range
 boolean isDynamic()
          True if this is a dynamic package requirement.
 
Methods inherited from interface org.jboss.osgi.resolver.XRequirement
getModule, getWiredCapability, isOptional
 
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

getResolution

String getResolution()
The required resolution

Returns:
the resolution or null for dynamic package requirements

getVersionRange

XVersionRange getVersionRange()
Get the required version range


getBundleSymbolicName

String getBundleSymbolicName()
The bundle symbolic name of the exporting bundle


getBundleVersion

Version getBundleVersion()
The bundle version of the exporting bundle


isDynamic

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

Specified by:
isDynamic in interface XRequirement


Copyright © 2010. All Rights Reserved.