return new PassThroughRecipe(getName(passThroughMetadata.getId()),
passThroughMetadata.getObject());
}
private Recipe createReferenceListRecipe(ReferenceListMetadata metadata) {
CollectionRecipe listenersRecipe = null;
if (metadata.getReferenceListeners() != null) {
listenersRecipe = new CollectionRecipe(getName(null), ArrayList.class, Object.class.getName());
for (ReferenceListener listener : metadata.getReferenceListeners()) {
listenersRecipe.add(createRecipe(listener));
}
}
ReferenceListRecipe recipe = new ReferenceListRecipe(getName(metadata.getId()),
blueprintContainer,
metadata,