com.springsource.bundlor.support
Interface ManifestReader

All Known Implementing Classes:
BlueprintArtifactAnalyzer, ExcludedImportAndExportPartialManifestModifier, IgnoredExistingHeadersManifestModifier, ManifestTemplateDirectiveMigrator

public interface ManifestReader

Implementations of this interface have the opportunity to read the bundle's manifest and the manifest template before they are used to create the bundle manifest

Concurrent Semantics
Implementations of this interface must be threadsafe

Author:
Ben Hale

Method Summary
 void readJarManifest(com.springsource.util.parser.manifest.ManifestContents manifest)
          Read the source JAR's manifest before it is used to create the bundle manifest
 void readManifestTemplate(com.springsource.util.parser.manifest.ManifestContents manifestTemplate)
          Read the manifest template before it is used to create the bundle manifest
 

Method Detail

readJarManifest

void readJarManifest(com.springsource.util.parser.manifest.ManifestContents manifest)
Read the source JAR's manifest before it is used to create the bundle manifest

Parameters:
manifest - the JAR manifest

readManifestTemplate

void readManifestTemplate(com.springsource.util.parser.manifest.ManifestContents manifestTemplate)
Read the manifest template before it is used to create the bundle manifest

Parameters:
manifestTemplate - the manifest template