use of org.apache.aries.application.modelling.ImportedBundle in project aries by apache.
the class OBRAriesResolver method toImportedBundle.
private Collection<ImportedBundle> toImportedBundle(Collection<Content> content) throws ResolverException {
log.debug(LOG_ENTRY, "toImportedBundle", content);
List<ImportedBundle> result = new ArrayList<ImportedBundle>();
for (Content c : content) {
try {
result.add(modellingManager.getImportedBundle(c.getContentName(), c.getVersion().toString()));
} catch (InvalidAttributeException iae) {
throw new ResolverException(iae);
}
}
log.debug(LOG_EXIT, "toImportedBundle", result);
return result;
}
Aggregations