/glassfish-3.1.2/common/common-util/src/test/java/com/sun/enterprise/util/net/ |
H A D | NetUtilsTest.java | 43 import com.sun.enterprise.util.net.NetUtils.PortAvailability; 102 * Test of hostIsLocal method, of class NetUtils. 107 String[] hostnames = new String[]{null, "", unlikelyName, "oracle.com", "localhost", NetUtils.getHostName()}; 113 boolean result = NetUtils.isThisHostLocal(hostname); 123 assertTrue(NetUtils.isEqual(null, null)); 124 assertTrue(NetUtils.isEqual(null, "")); 125 assertTrue(NetUtils.isEqual("", "")); 126 assertTrue(NetUtils.isEqual("localhost", "localhost")); 127 assertFalse(NetUtils.isEqual(null, "localhost")); 128 assertTrue(NetUtils [all...] |
/glassfish-3.1.2/admin/server-mgmt/src/main/java/com/sun/enterprise/admin/servermgmt/ |
H A D | PortValidator.java | 51 import com.sun.enterprise.util.net.NetUtils; 75 if (!NetUtils.isPortFree(((Integer)obj).intValue())) {
|
H A D | KeystoreManager.java | 61 import com.sun.enterprise.util.net.NetUtils; 184 cn = NetUtils.getCanonicalHostName();
|
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/util/ |
H A D | PortUtils.java | 45 import com.sun.enterprise.util.net.NetUtils; 48 import static com.sun.enterprise.util.net.NetUtils.MAX_PORT; 103 if (!NetUtils.isPortValid(port))
|
H A D | PortManager.java | 84 isLocal = NetUtils.isThisHostLocal(host); 192 else if (NetUtils.isThisHostLocal(server.getAdminHost())) { 207 return NetUtils.isEqual(server.getAdminHost(), host); 271 return NetUtils.isPortFree(num); 273 return NetUtils.isPortFree(host, num);
|
H A D | ServerPorts.java | 49 import com.sun.enterprise.util.net.NetUtils; 140 if (NetUtils.isPortValid(port))
|
H A D | PortBaseHelper.java | 49 import com.sun.enterprise.util.net.NetUtils; 200 if (checkPorts && !NetUtils.isPortFree(portNum)) {
|
H A D | ServerHelper.java | 52 import com.sun.enterprise.util.net.NetUtils; 150 return NetUtils.isRunning(getAdminHost(), getAdminPort());
|
/glassfish-3.1.2/cluster/cli/src/main/java/com/sun/enterprise/admin/cli/cluster/ |
H A D | CreateLocalInstanceFilesystemCommand.java | 54 import com.sun.enterprise.util.net.NetUtils; 201 String thisHost = NetUtils.getHostName(); 208 if (! NetUtils.isRunning(DASHost, DASPort)) { 210 String thisHost = NetUtils.getHostName();
|
H A D | UninstallNodeDcomCommand.java | 44 import com.sun.enterprise.util.net.NetUtils; 73 if (NetUtils.isThisHostLocal(host))
|
H A D | LocalInstanceCommand.java | 57 import com.sun.enterprise.util.net.NetUtils; 314 if (NetUtils.isEqual(host1, host2)) { 319 if (NetUtils.isThisHostLocal(host1) && NetUtils.isThisHostLocal(host2)) { 595 if (hostname.equals(dashost) || NetUtils.isThisHostLocal(dashost)) {
|
H A D | InstallNodeDcomCommand.java | 48 import com.sun.enterprise.util.net.NetUtils; 81 if (NetUtils.isThisHostLocal(host))
|
/glassfish-3.1.2/cluster/admin/src/main/java/com/sun/enterprise/v3/admin/cluster/ |
H A D | CreateNodeConfigCommand.java | 57 import com.sun.enterprise.util.net.NetUtils; 94 if (NetUtils.isThisHostLocal(nodehost) && StringUtils.ok(installdir)){
|
H A D | ValidateNodeCommand.java | 50 import com.sun.enterprise.util.net.NetUtils; 298 // "sidewinder" and "sidewinder.us.oracle.com". NetUtils 300 if (! NetUtils.isEqual(value, configValue)) { 303 if ( ! (NetUtils.isThisHostLocal(value) && 304 NetUtils.isThisHostLocal(configValue)) ) {
|
H A D | UpdateNodeCommand.java | 55 import com.sun.enterprise.util.net.NetUtils; 135 if (NetUtils.isThisHostLocal(nodehost) && StringUtils.ok(installdir)){
|
H A D | ValidateDcom.java | 56 import com.sun.enterprise.util.net.NetUtils; 348 if (NetUtils.isThisHostLocal(host)) {
|
H A D | NodeUtils.java | 54 import com.sun.enterprise.util.net.NetUtils; 417 if (NetUtils.isThisHostLocal(host)) 483 if (!NetUtils.isPortStringValid(resolver.resolve(sshport))) {
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/universal/glassfish/ |
H A D | GFLauncherUtils.java | 43 import com.sun.enterprise.util.net.NetUtils; 150 return NetUtils.getCanonicalHostName();
|
H A D | ASenvPropertyReader.java | 45 import com.sun.enterprise.util.net.NetUtils; 310 hostname = NetUtils.getCanonicalHostName();
|
/glassfish-3.1.2/admin/cli/src/main/java/com/sun/enterprise/admin/cli/ |
H A D | ChangeAdminPasswordCommand.java | 57 import com.sun.enterprise.util.net.NetUtils; 276 if(host != null && (NetUtils.isThisHostLocal(host) || NetUtils.isLocal(host))) {
|
H A D | StartServerHelper.java | 56 import com.sun.enterprise.util.net.NetUtils; 123 if (NetUtils.isRunning(addr.getHost(), addr.getPort())) { 296 if (!NetUtils.isPortFree(addr.getHost(), addr.getPort()))
|
/glassfish-3.1.2/core/kernel/src/main/java/com/sun/enterprise/v3/server/ |
H A D | SystemTasks.java | 57 import com.sun.enterprise.util.net.NetUtils; 146 hostname = NetUtils.getCanonicalHostName();
|
/glassfish-3.1.2/admin/cli-optional/src/main/java/com/sun/enterprise/admin/cli/optional/ |
H A D | CreateDomainCommand.java | 65 import com.sun.enterprise.util.net.NetUtils; 382 if (!NetUtils.isPortValid(portToVerify)) 391 NetUtils.PortAvailability avail = NetUtils.checkPort(portToVerify); 451 if (checkPorts && !NetUtils.isPortFree(portNum)) { 653 if (checkPorts && !NetUtils.isPortFree(port)) { 654 int newport = NetUtils.getFreePort();
|
/glassfish-3.1.2/common/common-util/src/main/java/com/sun/enterprise/util/net/ |
H A D | NetUtils.java | 47 public class NetUtils { class 62 private NetUtils() { method in class:NetUtils 643 synchronized (NetUtils.class) {
|
/glassfish-3.1.2/admin/config-api/src/main/java/com/sun/enterprise/config/serverbeans/ |
H A D | Node.java | 45 import com.sun.enterprise.util.net.NetUtils; 321 return NetUtils.isThisHostLocal(nodeHost);
|