| |
|
| java.lang.Object org.jboss.system.server.ServerConfigUtil
ServerConfigUtil | public class ServerConfigUtil (Code) | | 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.
author: Adrian Brock version: $Revision: 57205 $ |
fixRemoteAddress | public static InetAddress fixRemoteAddress(InetAddress address)(Code) | | Fix the remote inet address.
If we pass the address to the client we don't want to
tell it to connect to 0.0.0.0, use our host name instead
Parameters: address - the passed address the fixed address |
fixRemoteAddress | public static String fixRemoteAddress(String address)(Code) | | Fix the remote address.
If we pass the address to the client we don't want to
tell it to connect to 0.0.0.0, use our host name instead
Parameters: address - the passed address the fixed address |
getDefaultBindAddress | public static String getDefaultBindAddress()(Code) | | Retrieve the default bind address for the server
the default bind adress |
getDefaultPartitionName | public static String getDefaultPartitionName()(Code) | | Get the default partition name
the default partition name |
getSpecificBindAddress | public static String getSpecificBindAddress()(Code) | | Retrieve the default bind address, but only if it is specific
the specific bind address |
isLoadNative | public static boolean isLoadNative()(Code) | | Whether to load native directories
true when loading native directories |
shortUrlFromServerHome | public static String shortUrlFromServerHome(String longUrl)(Code) | | Utility to get a shortened url relative to the server home if possible
Parameters: longUrl - the short url |
|
|
|