serverResourceType.setSupportsManualAdd(serverDescriptor.isSupportsManualAdd());
serverResourceType.setSupportsMissingAvailabilityType(serverDescriptor.isSupportsMissingAvailabilityType());
// now see if we are using the Injection extension model
// if so, we need to inject the new resource type as a child to the parent plugin's types
RunsInsideType runsInside = serverDescriptor.getRunsInside();
if (runsInside != null) {
List<ParentResourceType> parentTypesDescriptor = runsInside.getParentResourceType();
for (ParentResourceType parentTypeDescriptor : parentTypesDescriptor) {
String parentTypeName = parentTypeDescriptor.getName();
String parentTypePlugin = parentTypeDescriptor.getPlugin();
ResourceType parentTypeToInjectInto = getResourceTypeFromPlugin(parentTypeName, parentTypePlugin);