public class Settings extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
STD_CONFIG_PATH |
| Modifier and Type | Method and Description |
|---|---|
static void |
augmentConfiguration(String fileName)
Include additional properties in the global configuration.
|
static org.apache.commons.configuration.Configuration |
getConfiguration()
Get a Configuration interface that combines all resources
found under all of the org.dataone.configuration/config.xml
files from all application packages.
|
static org.apache.commons.configuration.Configuration |
getResetConfiguration() |
public static String STD_CONFIG_PATH
public static org.apache.commons.configuration.Configuration getConfiguration()
NoSuchMethodExceptionIllegalAccessExceptionInvocationTargetExceptionpublic static org.apache.commons.configuration.Configuration getResetConfiguration()
public static void augmentConfiguration(String fileName) throws org.apache.commons.configuration.ConfigurationException
fileName - The properties file (path) to includeorg.apache.commons.configuration.ConfigurationExceptionCopyright © 2020. All Rights Reserved.