serverOp.get(OP_ADDR).set(serverAddress.toModelNode());
}
else if (SYSTEM_PROPERTY.equals(type) && isServerAffectingSystemPropertyOperation(operation)) {
String propName = address.getLastElement().getValue();
String serverName = address.getElement(0).getValue();
ServerIdentity serverId = getServerIdentity(serverName, host);
serverOp = getServerSystemPropertyOperation(operation, propName, serverId, Level.SERVER, domain, host);
}
}
else {
// TODO - deal with "add", "remove" and changing "auto-start" attribute
}
if (serverOp == null) {
result = Collections.emptyMap();
}
else {
String serverName = address.getElement(0).getValue();
ServerIdentity gs = getServerIdentity(serverName, host);
Set<ServerIdentity> set = Collections.singleton(gs);
result = Collections.singletonMap(set, serverOp);
}
return result;
}