|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.system.server.ServerConfigUtil
public class ServerConfigUtil
Utilities for accessing server configuration. Note that this class cannot have dependencies on anything but bootstrap and jdk classes. Anything more than this needs to be defined in the ServerConfig interface and provided in the associated implementation.
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 |