use of org.apache.aries.blueprint.di.Recipe in project aries by apache.
the class RecipeBuilder method createRepository.
public BlueprintRepository createRepository() {
BlueprintRepository repository = new BlueprintRepository(blueprintContainer);
// Create component recipes
for (String name : registry.getComponentDefinitionNames()) {
ComponentMetadata component = registry.getComponentDefinition(name);
Recipe recipe = createRecipe(component);
repository.putRecipe(recipe.getName(), recipe);
}
repository.validate();
return repository;
}
Aggregations