com.springsource.bundlor.support
Class StandardManifestGenerator

java.lang.Object
  extended by com.springsource.bundlor.support.StandardManifestGenerator
All Implemented Interfaces:
ManifestGenerator

public class StandardManifestGenerator
extends java.lang.Object
implements ManifestGenerator


Field Summary
private  ManifestGeneratorContributors contributors
           
private  ManifestMerger manifestMerger
           
 
Constructor Summary
StandardManifestGenerator(ManifestGeneratorContributors contributors)
           
StandardManifestGenerator(ManifestGeneratorContributors contributors, ManifestMerger manifestMerger)
           
 
Method Summary
private  void analyzeEntries(ClassPath[] classPaths, PartialManifest partialManifest)
           
private  void analyzeEntry(ClassPathEntry classPathEntry, PartialManifest partialManifest)
           
private  void beginEntry(ClassPathEntry classPathEntry)
           
private  void endEntry()
           
 com.springsource.util.parser.manifest.ManifestContents generate(com.springsource.util.parser.manifest.ManifestContents manifestTemplate, ClassPath... classPaths)
           
private  com.springsource.util.parser.manifest.ManifestContents getExistingManifest(ClassPath... classPaths)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

contributors

private final ManifestGeneratorContributors contributors

manifestMerger

private final ManifestMerger manifestMerger
Constructor Detail

StandardManifestGenerator

public StandardManifestGenerator(ManifestGeneratorContributors contributors)

StandardManifestGenerator

StandardManifestGenerator(ManifestGeneratorContributors contributors,
                          ManifestMerger manifestMerger)
Method Detail

generate

public com.springsource.util.parser.manifest.ManifestContents generate(com.springsource.util.parser.manifest.ManifestContents manifestTemplate,
                                                                       ClassPath... classPaths)
Specified by:
generate in interface ManifestGenerator

getExistingManifest

private com.springsource.util.parser.manifest.ManifestContents getExistingManifest(ClassPath... classPaths)

analyzeEntries

private void analyzeEntries(ClassPath[] classPaths,
                            PartialManifest partialManifest)

analyzeEntry

private void analyzeEntry(ClassPathEntry classPathEntry,
                          PartialManifest partialManifest)

beginEntry

private void beginEntry(ClassPathEntry classPathEntry)

endEntry

private void endEntry()