public class ClasspathPropertiesConfiguration extends ConcurrentMapConfiguration
Such properties are often used in Spring, by defining a PropertyPlaceholderConfigurer that gets parameter values from ClasspathConfiguration.getProperties().
DISABLE_DELIMITER_PARSING, map
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConfigNameProperty()
Deprecated.
|
java.util.Properties |
getProperties()
Returns properties from this configuration
|
java.lang.String |
getPropertiesResourceRelativePath() |
static void |
initialize() |
static void |
setConfigNameProperty(java.lang.String configNameProperty)
Deprecated.
|
static void |
setPropertiesResourceRelativePath(java.lang.String propertiesResourceRelativePath)
Set relative class path for the config file
|
addConfigurationListener, addErrorListener, addProperty, addPropertyDirect, addPropertyImpl, clear, clearConfigurationListeners, clearErrorListeners, clearPropertyDirect, containsKey, copy, fireError, fireEvent, getConfigurationListeners, getErrorListeners, getKeys, getProperty, isEmpty, loadProperties, removeConfigurationListener, removeErrorListener, setProperty, setPropertyImpl
@Deprecated public java.lang.String getConfigNameProperty()
@Deprecated public static void setConfigNameProperty(java.lang.String configNameProperty)
configNameProperty
- public java.lang.String getPropertiesResourceRelativePath()
public static void setPropertiesResourceRelativePath(java.lang.String propertiesResourceRelativePath)
propertiesResourceRelativePath
- New relative path of config filepublic java.util.Properties getProperties()
getProperties
in class ConcurrentMapConfiguration
public static void initialize()