com.metamatrix.common.util
Class VMNaming
java.lang.Object
com.metamatrix.common.util.VMNaming
public final class VMNaming
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VMNaming
public VMNaming()
getProcessName
public static java.lang.String getProcessName()
setProcessName
public static void setProcessName(java.lang.String processName)
getConfigName
public static java.lang.String getConfigName()
getHostAddress
public static java.net.InetAddress getHostAddress()
getBindAddress
public static java.lang.String getBindAddress()
setup
public static void setup(java.lang.String configName,
java.lang.String hostName,
java.lang.String bindAddress)
throws java.net.UnknownHostException
- Throws:
java.net.UnknownHostException
getHostInfo
public static java.lang.String getHostInfo()
- Return the stringified representation of this application information object.
- Returns:
- the string form of this object; never null
getDefaultConfigName
public static java.lang.String getDefaultConfigName()
Copyright © 2009. All Rights Reserved.