}
private IWebHost getWebHost(HttpHost host) {
IWebHost webHost = null;
synchronized(workspace) {
final IWebModel webModel = workspace.getWebModel();
webHost = webModel.getWebHostByHttpHost(host);
if(webHost == null)
webHost = webModel.createWebHostFromHttpHost(host);
}
processWebHost(webHost);
return webHost;
}