@@ -0,0 +1,846 @@
+package com.github.aureliano.edocs.common.config;%0A%0Aimport com.github.aureliano.edocs.common.helper.ConfigurationHelper;%0A%0Apublic final class ConfigurationSingleton %7B%0A%0A%09private static ConfigurationSingleton instance;%0A%09%0A%09private AppConfiguration configuration;%0A%09%0A%09private ConfigurationSingleton() %7B%7D%0A%09%0A%09public static final ConfigurationSingleton instance() %7B%0A%09%09if (instance == null) %7B%0A%09%09%09instance = new ConfigurationSingleton();%0A%09%09%7D%0A%09%09%0A%09%09return instance;%0A%09%7D%0A%09%0A%09public void setAppConfiguration(AppConfiguration configuration) %7B%0A%09%09this.configuration = configuration;%0A%09%7D%0A%09%0A%09public AppConfiguration getAppConfiguration() %7B%0A%09%09if (this.configuration == null) %7B%0A%09%09%09this.loadDefaultAppConfiguration();%0A%09%09%7D%0A%09%09%0A%09%09return this.configuration;%0A%09%7D%0A%09%0A%09public void loadDefaultAppConfiguration() %7B%0A%09%09this.configuration = ConfigurationHelper.parseConfiguration();%0A%09%7D%0A%7D

Create configuration singleton.