components.addAll(addManagedDeploymentComponent(deployName, componentName, context));
for (ManagedComponent component : components) {
ComponentType type = component.getType();
String displayName;
try {
displayName = (String) ManagedComponentUtils.getSimplePropertyValue(component, "name");
} catch (IllegalStateException il) {
displayName = component.getName();
}
try {
String resourceName = (String) component.getName();
String resourceKey = component.getType() + "|" + type.getSubtype() + "|" + resourceName;
String version = "";
Configuration pluginConfig = new Configuration();
pluginConfig.put(new PropertySimple(PLATFORM_DEPLOYMENT_NAME, deployName));
pluginConfig.put(new PropertySimple(PLATFORM_COMPONENT_NAME, resourceName));