public final class HostName
extends java.lang.Object
jboss.host.name and/or jboss.qualified.host.name system properties.| Modifier and Type | Method | Description |
|---|---|---|
static java.lang.String |
getHostName() |
Get the detected host name.
|
static java.lang.String |
getNodeName() |
Get the node name.
|
static java.lang.String |
getQualifiedHostName() |
Get the detected qualified host name.
|
static void |
setNodeName(java.lang.String nodeName) |
Set the node name.
|
static void |
setQualifiedHostName(java.lang.String qualifiedHostName) |
Set the host name.
|
public static java.lang.String getHostName()
public static java.lang.String getQualifiedHostName()
public static java.lang.String getNodeName()
public static void setQualifiedHostName(java.lang.String qualifiedHostName)
qualifiedHostName - the host namepublic static void setNodeName(java.lang.String nodeName)
nodeName - the node nameCopyright © 2018 JBoss, a division of Red Hat, Inc.