public class ServerConfigUtil extends Object
| Constructor and Description |
|---|
ServerConfigUtil() |
| Modifier and Type | Method and Description |
|---|---|
static InetAddress |
fixRemoteAddress(InetAddress address)
Fix the remote inet address.
|
static String |
fixRemoteAddress(String address)
Fix the remote address.
|
static String |
getDefaultBindAddress()
Retrieve the default bind address for the server
|
static String |
getDefaultPartitionName()
Get the default partition name
|
static String |
getSpecificBindAddress()
Retrieve the default bind address, but only if it is specific
|
static boolean |
isLoadNative()
Whether to load native directories
|
static String |
shortUrlFromServerHome(String longUrl)
Utility to get a shortened url relative to the server home if possible
|
public static String getDefaultBindAddress()
public static String getSpecificBindAddress()
public static InetAddress fixRemoteAddress(InetAddress address)
address - the passed addresspublic static String fixRemoteAddress(String address)
address - the passed addresspublic static String getDefaultPartitionName()
public static boolean isLoadNative()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.