if (config == null) {
Object[] params = {VirtualServerInfoStatsProvider.class.getName(),
HttpServiceStatsProvider.class.getName(),
"http service", "virtual server"};
logger.log(Level.SEVERE, "unableToRegisterStatsProviders", params);
throw new ConfigurationException(localStrings.getLocalString(
"nullConfig", "Current server config is null."));
}
HttpService httpService = config.getHttpService();
for (VirtualServer vs : httpService.getVirtualServer()) {