standardContext.setParentClassLoader(classLoader);
standardContext.setDelegate(true);
String host = webApp.host;
if (host == null) host = "localhost";
HostConfig deployer = deployers.get(host);
if (deployer != null) {
// host isn't set until we call deployer.manageApp, so pass it
ContextInfo contextInfo = addContextInfo(host, standardContext);
contextInfo.appInfo = appInfo;
contextInfo.deployer = deployer;
contextInfo.standardContext = standardContext;
deployer.manageApp(standardContext);
}
}
}
}