Exposes information about both the physical server and Java Runtime Environment (JRE) that Mule is running on:
userDir User working directory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerContext
public ServerContext()
getHost
public static String getHost()
throws UnknownHostException
- Throws:
UnknownHostException
getIp
public static String getIp()
throws UnknownHostException
- Throws:
UnknownHostException
getTimeZone
public static TimeZone getTimeZone()
getLocale
public static Locale getLocale()
getTmpDir
public static String getTmpDir()
getFileSeparator
public static String getFileSeparator()
getEnv
public static Map<String,String> getEnv()
getSystemProperties
public static Properties getSystemProperties()
getOsName
public static String getOsName()
getOsArch
public static String getOsArch()
getOsVersion
public static String getOsVersion()
getJavaVersion
public static String getJavaVersion()
getJavaVendor
public static String getJavaVendor()
getUserName
public static String getUserName()
getUserHome
public static String getUserHome()
getUserDir
public static String getUserDir()
Copyright © 2003-2012 MuleSoft, Inc.. All Rights Reserved.