BundleVersionHeader bvh = (BundleVersionHeader)manifest.getHeader(BundleVersionHeader.NAME);
capabilities.add(new ProvideBundleCapability(bsnh, bvh, this));
}
private void computeOsgiWiringBundleRequirements() {
RequireBundleHeader rbh = (RequireBundleHeader)manifest.getHeader(RequireBundleHeader.NAME);
if (rbh != null)
for (RequireBundleHeader.Clause clause : rbh.getClauses())
requirements.add(new RequireBundleRequirement(clause, this));
}