|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.bootstrap.spi.util.ServerConfigUtil
public class ServerConfigUtil
Utilities for accessing server configuration
Constructor Summary | |
---|---|
ServerConfigUtil()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServerConfigUtil()
Method Detail |
---|
public static String getDefaultBindAddress()
public static String getSpecificBindAddress()
public static InetAddress fixRemoteAddress(InetAddress address)
address
- the passed address
public static String fixRemoteAddress(String address)
address
- the passed address
public static String getDefaultPartitionName()
public static boolean isLoadNative()
public static String shortUrlFromServerHome(String longUrl)
longUrl
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |