public void createHost(
com.sun.enterprise.config.serverbeans.VirtualServer vse,
ConfigContext configContext,
boolean enableMonitoring) throws ConfigException{
Config config = ServerBeansFactory.getConfigBean(configContext);
Server serverBean = null;
try {
serverBean = ServerBeansFactory.getServerBean(configContext);
} catch (ConfigException e) {
_logger.log(Level.SEVERE, "webcontainer.configError", e);
}
VirtualServer vs = createHost(config.getHttpService(),
config.getSecurityService(),
vse,
globalAccessLoggingEnabled,
serverBean);
if ( enableMonitoring ){
enableVirtualServerMonitoring(vs);