} else { // update the configuration
if (log.isDebugEnabled()) {
log.debug("Updating plugin configuration definition for " + existingType);
}
ConfigurationDefinitionUpdateReport updateReport = configurationMetadataMgr
.updateConfigurationDefinition(newType.getPluginConfigurationDefinition(),
existingConfigurationDefinition);
if (updateReport.getNewPropertyDefinitions().size() > 0
|| updateReport.getUpdatedPropertyDefinitions().size() > 0) {
// don't pull/update every resource entity in at this point, do it in batches
List<Integer> resourceIds = resourceMgr.findIdsByTypeIds(Arrays.asList(existingType.getId()));
BatchIterator<Integer> batchIterator = new BatchIterator<Integer>(resourceIds, 200);
while (batchIterator.hasMoreBatches()) {