public class PropertyManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ConcurrentMap<String,String> |
environmentVars |
| Modifier | Constructor and Description |
|---|---|
protected |
PropertyManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToEnvironmentVars(String key,
String value)
Adds an environment variable value
|
static PropertyManager |
getInstance()
Create or return a singleton instance of the PropertyManager
|
Properties |
getProperties(String propertiesRequired)
Returns the properties of a particular configuration.
|
protected ConcurrentMap<String,String> environmentVars
public static PropertyManager getInstance()
public Properties getProperties(String propertiesRequired)
propertiesRequired - - The file name (e.g. cache.properties) for the requried configuration.Copyright © 2017 Enterprise Information Systems - University of Bonn. All rights reserved.