// Path: src/main/java/com/dogeops/cantilever/utils/Util.java
// public static void cease(Logger logger, String message) {
// 	logger.error(message);
// 	System.exit(1);
// }


import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import org.apache.log4j.Logger;
import static com.dogeops.cantilever.utils.Util.cease;
package com.dogeops.cantilever.utils;




public enum ConfigurationSingleton {
	instance;
	private static final Logger logger = Logger
			.getLogger(ConfigurationSingleton.class.getName());

	private Properties props = new Properties();

	private ConfigurationSingleton() {
	}

	public void readConfigFile(String config_path) {
		try {
			InputStream input = new FileInputStream(config_path);
			props.load(input);
			input.close();
		} catch (IOException e) {
// Path: src/main/java/com/dogeops/cantilever/utils/Util.java
// public static void cease(Logger logger, String message) {
// 	logger.error(message);
// 	System.exit(1);
// }


// Path: src/main/java/com/dogeops/cantilever/utils/ConfigurationSingleton.java
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
import org.apache.log4j.Logger;
import static com.dogeops.cantilever.utils.Util.cease;

package com.dogeops.cantilever.utils;




public enum ConfigurationSingleton {
	instance;
	private static final Logger logger = Logger
			.getLogger(ConfigurationSingleton.class.getName());

	private Properties props = new Properties();

	private ConfigurationSingleton() {
	}

	public void readConfigFile(String config_path) {
		try {
			InputStream input = new FileInputStream(config_path);
			props.load(input);
			input.close();
		} catch (IOException e) {
			cease(logger, e.getMessage());