class ServerWebApp extends Server implements ServletContextListener {

  static String getHomeDir(String name) {
    String homeDir = HOME_DIR_TL.get();
    if (homeDir == null) {
      String sysProp = name + HOME_DIR;
      homeDir = System.getProperty(sysProp);
      if (homeDir == null) {
        throw new IllegalArgumentException(
            MessageFormat.format("System property [{0}] not defined", sysProp));
      }
    }
    return homeDir;
  }

  protected  ServerWebApp(String name, String homeDir, String configDir,
      String logDir, String tempDir, Configuration config);
  protected  ServerWebApp(String name, String homeDir, Configuration config);
  public  ServerWebApp(String name);

}