Methods Summary |
---|
public static java.lang.String | getConfigLocation()
return ApplicationServer.getServerContext().getServerConfigURL();
|
public static java.lang.String | getInstallationRoot()
return System.getProperty("com.sun.aas.installRoot");
|
public static java.lang.String | getInstanceName()
return ApplicationServer.getServerContext().getInstanceName();
|
public static java.lang.String | getInstanceRoot()
try {
return ApplicationServer.getServerContext().getInstallRoot();
} catch (Exception e) {
return System.getProperty("com.sun.aas.instanceRoot");
}
|
public static boolean | isSolaris()
String osName = (System.getProperty(OS_NAME)).toLowerCase();
if(osName.startsWith(SUN) || osName.startsWith(LINUX))
return true;
return false;
|