com.github.ibole.infrastructure.common.properties.ConfigurationHolder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of infrastructure-all Show documentation
Show all versions of infrastructure-all Show documentation
The all in one project of ibole infrastructure
The newest version!
package com.github.ibole.infrastructure.common.properties;
import java.util.Map;
/*********************************************************************************************.
*
*
* Copyright 2016, iBole Inc. All rights reserved.
*
*
*********************************************************************************************/
/**
* Holder for bootstrap configuration properties.
*
*/
public final class ConfigurationHolder {
private static Map props;
private ConfigurationHolder() {
// empty
}
public static void set(final Map properties) {
props = properties;
}
public static Map get() {
return props;
}
public static void unset() {
props.clear();
props = null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy