}
private void setDefaultPort() {
URI uri = URI.create(domainURI);
if (uri.getPort() > -1) {
RuntimeBootStrapper rt = ((NodeImpl)node).getRuntime();
ServletHostExtensionPoint sh = rt.getExtensionPointRegistry().getExtensionPoint(ServletHostExtensionPoint.class);
if (sh != null && sh.getServletHosts() != null && !sh.getServletHosts().isEmpty()) {
sh.getServletHosts().get(0).setDefaultPort(uri.getPort());
}
}
}