newNode.setNodeDir(nodedir); if (nodehost != null && !"".equals(nodehost)) newNode.setNodeHost(nodehost); newNode.setType(type);
private void createDefaultNode(Domain d, Nodes nodes) throws TransactionFailure, PropertyVetoException { Property domainProp = d.getProperty("administrative.domain.name"); String domainName = domainProp.getValue(); Node node = nodes.createChild(Node.class); node.setName("localhost" + "-" + domainName); node.setType("CONFIG"); node.setNodeHost("localhost"); node.setInstallDir("${com.sun.aas.productRoot}"); nodes.getNode().add(node); } }
private void createDefaultNode(Domain d, Nodes nodes) throws TransactionFailure, PropertyVetoException { Property domainProp = d.getProperty("administrative.domain.name"); String domainName = domainProp.getValue(); Node node = nodes.createChild(Node.class); node.setName("localhost" + "-" + domainName); node.setType("CONFIG"); node.setNodeHost("localhost"); node.setInstallDir("${com.sun.aas.productRoot}"); nodes.getNode().add(node); } }
newNode.setNodeDir(nodedir); if (nodehost != null && nodehost !="") newNode.setNodeHost(nodehost); newNode.setType(type);
String name = p.getName(); if (name.equals("client-hostname")) { node.setNodeHost(p.getValue()); //create the node with a host name node.setInstallDir("${com.sun.aas.productRoot}");
String name = p.getName(); if (name.equals("client-hostname")) { node.setNodeHost(p.getValue()); //create the node with a host name node.setInstallDir("${com.sun.aas.productRoot}");
instance.setInstallDir(null); if (!StringUtils.ok(nodehost)) instance.setNodeHost(null);
instance.setInstallDir(null); if (!StringUtils.ok(nodehost)) instance.setNodeHost(null); if (!StringUtils.ok(windowsdomain)) instance.setWindowsDomain(null);
writeableNode.setNodeDir(nodedir); if (nodehost != null) writeableNode.setNodeHost(nodehost); if (installdir != null) writeableNode.setInstallDir(installdir);
writeableNode.setNodeDir(nodedir); if (nodehost != null) writeableNode.setNodeHost(nodehost); if (installdir != null) writeableNode.setInstallDir(installdir);