*/
@SuppressWarnings("unchecked")
private void pluginDiscovery(InventoryReport report, List<ProcessInfo> processInfos) {
inventoryManager.executePlatformScan();
PluginManager pluginManager = inventoryManager.getPluginManager();
PluginComponentFactory factory = inventoryManager.getPluginComponentFactory();
Set<ResourceType> serverTypes = pluginManager.getMetadataManager().getTypesForCategory(ResourceCategory.SERVER);
ResourceContainer platformContainer = inventoryManager.getResourceContainer(inventoryManager.getPlatform());
Resource platformResource = platformContainer.getResource();
for (ResourceType serverType : serverTypes) {
if (!serverType.getParentResourceTypes().isEmpty()) {