class Configuration {

    public static void loadConfigSwitcher() throws ConfigurationItemException {
    	LoggingService.logInfo(MODULE_NAME, "Start loads configuration about current config from config-switcher.xml");
    	
        DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
        DocumentBuilder builder = null;
		try {
			builder = factory.newDocumentBuilder();
		} catch (ParserConfigurationException e) {
			LoggingService.logError(MODULE_NAME, "Error while parsing config switcher xml", e);
			throw new ConfigurationItemException(e.getMessage(), e);
		}

        try {
			configSwitcherFile = builder.parse(CONFIG_SWITCHER_PATH);
		} catch (SAXException e) {
			LoggingService.logError(MODULE_NAME, "Error while parsing config switcher xml", 
					new ConfigurationItemException(e.getMessage(), e));
			throw new ConfigurationItemException(e.getMessage(), e);
		} catch (IOException e) {
			LoggingService.logError(MODULE_NAME, "Error while parsing config switcher xml", 
					new ConfigurationItemException(e.getMessage(), e));
			throw new ConfigurationItemException(e.getMessage(), e);
		}
        configSwitcherFile.getDocumentElement().normalize();

        configSwitcherElement = (Element) getFirstNodeByTagName(SWITCHER_ELEMENT, configSwitcherFile);

        verifySwitcherNode(SWITCHER_NODE, ConfigSwitcherState.DEFAULT.fullValue());
        LoggingService.logInfo(MODULE_NAME, "Finished loading configuration about current config from config-switcher.xml");
    }

}