in src/main/java/org/apache/sling/feature/scanner/impl/BundleDescriptorImpl.java [145:162]
public BundleDescriptorImpl(final Artifact artifact,
final URL url,
final ArtifactProvider provider,
final Manifest manifest,
final int startLevel) throws IOException {
super(artifact.getId().toMvnId());
this.artifact = artifact;
this.startLevel = startLevel;
this.artifactFile = url;
this.artifactProvider = provider;
if ( manifest == null ) {
throw new IOException("File has no manifest");
}
this.manifest = new Manifest(manifest);
this.analyze();
this.lock();
}