return new File(domainRoot, domainName).exists();
}
private ServerConfig createServerConfig(Map domainConfig)
{
ServerConfig sc = new ServerConfig();
sc.defaultLocale = (String) domainConfig.get(DomainConfig.K_DEFAULTLOCALE);
sc.icuLib = (String) domainConfig.get(DomainConfig.K_ICULIB);
sc.webServicesLib = (String) domainConfig.get(DomainConfig.K_WEBSVCSLIB);
sc.perlRoot = (String) domainConfig.get(DomainConfig.K_PERLROOT);
sc.serverID = PEWebCoreDomainsManager.SERVER_ID;