private void computeOsgiServiceCapabilities(List<Capability> capabilities) throws InvalidSyntaxException {
SubsystemExportServiceHeader header = getSubsystemManifest().getSubsystemExportServiceHeader();
if (header == null)
return;
for (Resource resource : getContentResources())
capabilities.addAll(header.toCapabilities(resource));
}
public DeploymentManifest getDeploymentManifest() {
return deploymentManifest;
}