domain.addServer(server);
}
}
for (String serverGroupName : rootNode.get(SERVER_GROUP).keys()) {
ServerGroup group = new ServerGroup(serverGroupName);
if(containerNameMap.containsKey(group.getName())) {
group.setContainerName(containerNameMap.get(group.getName()));
}
domain.addServerGroup(group);
}
return domain;
}