computeGenericCapabilities();
computeOsgiServiceCapabilities(resource);
}
private void computeGenericCapabilities() {
ProvideCapabilityHeader pch = (ProvideCapabilityHeader)manifest.getHeader(ProvideCapabilityHeader.NAME);
if (pch != null)
for (ProvideCapabilityHeader.Clause clause : pch.getClauses())
capabilities.add(new ProvideCapabilityCapability(clause, this));
}