for (ExternalResourceDescription r : extRes.getExternalResources()) {
resources.put(r.getName(), r);
}
// For the current resource, add resource and binding
ExternalResourceBinding extResBind = createExternalResourceBinding(aBindTo, aNestedRes);
bindings.put(extResBind.getKey(), extResBind);
resources.put(aRes.getName(), aRes);
// Handle nested resources
bindNestedResources(aRes, bindings, resources);