// TODO: add check for duplicate socket bindings
SocketBindingGroupElement domainBindings = domainModel.getSocketBindingGroup(bindingRef);
if (domainBindings == null) {
domainBindings = new SocketBindingGroupElement("domainBindings");
}
list.add(new ServerSocketBindingGroupUpdate(new SocketBindingGroupUpdate(domainBindings.getName(), domainBindings.getDefaultInterface(), Collections.<String>emptySet())));
processSocketBindings(domainBindings, list);
for(final String socketInclude : domainBindings.getIncludedSocketBindingGroups()) {
final SocketBindingGroupElement include = domainModel.getSocketBindingGroup(socketInclude);
if(include == null) {
throw new IllegalStateException("failed to resolve binding-group " + socketInclude);