Revision 2bec70cd
Added by Andreas Kohlbecker over 6 years ago
cdmlib-commons/src/main/java/eu/etaxonomy/cdm/common/ConfigFileUtil.java | ||
---|---|---|
59 | 59 |
*/ |
60 | 60 |
public Properties getProperties(String instanceName, String propertiesName) throws IOException { |
61 | 61 |
|
62 |
if(instanceName == null){ |
|
63 |
throw new NullPointerException(); |
|
64 |
} |
|
62 | 65 |
if(props == null){ |
63 | 66 |
props = new Properties(); |
64 | 67 |
File uiPropertiesFile = getPropertiesFile(instanceName, propertiesName); |
Also available in: Unified diff
data source bean id aka instance name now available from the Spring environment