com.springsource.util.osgi.manifest
Interface DynamicImportPackage

All Superinterfaces:
Parseable
All Known Implementing Classes:
StandardDynamicImportPackage

public interface DynamicImportPackage
extends Parseable

Represents the DynamicImport-Package header in a BundleManifest.

Concurrent Semantics
Implementations may not be thread-safe.


Method Summary
 DynamicallyImportedPackage addDynamicallyImportedPackage(java.lang.String packageName)
          Adds a dynamically imported package, with the supplied, possibly wild-carded, name, to this DynamicImport-Package header.
 java.util.List<DynamicallyImportedPackage> getDynamicallyImportedPackages()
          Returns a list of dynamically imported packages, one for each entry in the DynamicImport-Package header.
 
Methods inherited from interface com.springsource.util.osgi.manifest.Parseable
resetFromParseString, toParseString
 

Method Detail

getDynamicallyImportedPackages

java.util.List<DynamicallyImportedPackage> getDynamicallyImportedPackages()
Returns a list of dynamically imported packages, one for each entry in the DynamicImport-Package header. If no such header exists, an empty list is returned.

Returns:
the list of dynamically imported packages.

addDynamicallyImportedPackage

DynamicallyImportedPackage addDynamicallyImportedPackage(java.lang.String packageName)
Adds a dynamically imported package, with the supplied, possibly wild-carded, name, to this DynamicImport-Package header.

Parameters:
packageName - The, possibly wild-carded, name of the package
Returns:
the newly-created DynamicallyImportedPackage.