JBossProductType productType = installInfo.getProductType();
String name = formatServerName(bindAddress, jnpPort, context.getSystemInformation().getHostname(),
configName, productType, isRhqServer(configDir));
String description = productType.NAME +
" server that the RHQ Plugin Container is running within";
DiscoveredResourceDetails resource = new DiscoveredResourceDetails(context.getResourceType(),
configDir.getAbsolutePath(), name, version, description, pluginConfiguration, null);
return resource;
}
} catch (Exception e) {