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); } }
if (nodehost != null && nodehost !="") newNode.setNodeHost(nodehost); newNode.setType(type);
node.setType("CONFIG"); JmxConnector jc = na.getJmxConnector(); if (jc != null){
node.setType("CONFIG"); JmxConnector jc = na.getJmxConnector(); if (jc != null){
instance.setType(type);
instance.setType(type);
writeableNode.setInstallDir(installdir); if (type != null) writeableNode.setType(type); if (sshport != null || sshnodehost != null ||sshuser != null || sshkeyfile != null){ SshConnector sshC = writeableNode.getSshConnector();
writeableNode.setInstallDir(installdir); if (type != null) writeableNode.setType(type); if (sshport != null || sshnodehost != null ||sshuser != null || sshkeyfile != null){ SshConnector sshC = writeableNode.getSshConnector();