jboss.host.name and/or jboss.qualified.host.name system properties.
| Modifier and Type | Field and Description |
|---|---|
| private static volatile String | |
| private static final Object | |
| private static volatile String | |
| private static volatile String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static String | |
| pack-priv static InetAddress | |
| public static String | |
| public static String | Returns: the detected qualified host nameGet the detected qualified host name. |
| public static void | |
| public static void |
| hostName | back to summary |
|---|---|
| private static volatile String hostName | |
| lock | back to summary |
|---|---|
| private static final Object lock | |
| nodeName | back to summary |
|---|---|
| private static volatile String nodeName | |
| qualifiedHostName | back to summary |
|---|---|
| private static volatile String qualifiedHostName | |
| HostName | back to summary |
|---|---|
| private HostName() | |
| getHostName | back to summary |
|---|---|
| public static String getHostName() Get the detected host name.
| |
| getLocalHost | back to summary |
|---|---|
| pack-priv static InetAddress getLocalHost() throws UnknownHostException | |
| getNodeName | back to summary |
|---|---|
| public static String getNodeName() Get the node name.
| |
| getQualifiedHostName | back to summary |
|---|---|
| public static String getQualifiedHostName() Get the detected qualified host name.
| |
| setNodeName | back to summary |
|---|---|
| public static void setNodeName(final String nodeName) Set the node name.
| |
| setQualifiedHostName | back to summary |
|---|---|
| public static void setQualifiedHostName(final String qualifiedHostName) Set the host name. The qualified host name is set directly from the given value; the unqualified host name is then re-derived from that value. The node name is not changed by this method.
| |