// This is a potentially expensive operation depending on the size of the batch and the content of the resources.
List<Resource> resourceBatch = configuration.getServerServices().getDiscoveryServerService()
.getResourcesAsList(resourceIdArray);
if (isDebugEnabled) {
stopWatch.markTimeEnd(marker);
marker = markerPrefix + "Store sublist of resources to map";
stopWatch.markTimeBegin(marker);
}