// let's using the created object (see getGridCoverageReader)
BeanUtils.copyProperties(createdObject, info);
createdObject.setWorkspace(localizeWorkspace(info.getWorkspace(), catalog));
builder.attach(createdObject);
return createdObject;
}
public static ResourceInfo localizeResource(final ResourceInfo info, final Catalog catalog) throws IllegalAccessException, InvocationTargetException {
if (info==null || catalog==null)