com.springsource.bundlor.blint.internal.support
Class ExportedNotImportedManifestValidator

java.lang.Object
  extended by com.springsource.bundlor.blint.internal.support.ExportedNotImportedManifestValidator
All Implemented Interfaces:
ManifestValidator

public class ExportedNotImportedManifestValidator
extends java.lang.Object
implements ManifestValidator

Validates that packages that are exported are not also imported

Concurrent Semantics
Threadsafe

Author:
Ben Hale

Field Summary
private static java.lang.String MESSAGE
           
 
Constructor Summary
ExportedNotImportedManifestValidator()
           
 
Method Summary
 void validate(com.springsource.util.osgi.manifest.BundleManifest manifest, java.util.List<Warning> warnings)
          Check for warnings against a bundle's manifest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MESSAGE

private static final java.lang.String MESSAGE
See Also:
Constant Field Values
Constructor Detail

ExportedNotImportedManifestValidator

public ExportedNotImportedManifestValidator()
Method Detail

validate

public void validate(com.springsource.util.osgi.manifest.BundleManifest manifest,
                     java.util.List<Warning> warnings)
Check for warnings against a bundle's manifest

Specified by:
validate in interface ManifestValidator
Parameters:
manifest - the manifest to validate
warnings - the collection of warnings to populate