org.eclipse.osgi.service.resolver
Interface ExportPackageDescription

All Superinterfaces:
BaseDescription

public interface ExportPackageDescription
extends BaseDescription

This class represents a specific version of an exported package in the system.

Clients may implement this interface.

Since:
3.1

Method Summary
 java.util.Map getAttributes()
          Returns the arbitrary attributes for this package.
 java.lang.Object getDirective(java.lang.String key)
          Returns the specified directive for this package.
 java.util.Map getDirectives()
          Returns the directives for this package.
 BundleDescription getExporter()
          Returns the exporter of this package.
 boolean isRoot()
          Returns true if the export package is a root package; false otherwise.
 
Methods inherited from interface org.eclipse.osgi.service.resolver.BaseDescription
getName, getSupplier, getVersion
 

Method Detail

isRoot

boolean isRoot()
Returns true if the export package is a root package; false otherwise. A ExportPackageDescription is not a root package the exporting bundle is re-exporting the package using the Reexport-Package header.

Returns:
true if the export package is a root package; false otherwise

getAttributes

java.util.Map getAttributes()
Returns the arbitrary attributes for this package.

Returns:
the arbitrary attributes for this package

getDirectives

java.util.Map getDirectives()
Returns the directives for this package.

Returns:
the directives for this package

getDirective

java.lang.Object getDirective(java.lang.String key)
Returns the specified directive for this package.

Parameters:
key - the directive to fetch
Returns:
the specified directive for this package

getExporter

BundleDescription getExporter()
Returns the exporter of this package.

Returns:
the exporter of this package.