public class ClasspathPropertiesConfiguration extends ConcurrentMapConfiguration
Such properties are often used in Spring, by defining a PropertyPlaceholderConfigurer that gets parameter values from ClasspathConfiguration.getProperties().
map
Modifier and Type | Method and Description |
---|---|
String |
getConfigNameProperty() |
Properties |
getProperties()
Returns properties from this configuration
|
String |
getPropertiesResourceRelativePath() |
static void |
initialize() |
static void |
setConfigNameProperty(String configNameProperty)
Sets the name for the property name that defines the name for a bag of
properties loaded from a properties resources
Default if not set is config.configName
|
static void |
setPropertiesResourceRelativePath(String propertiesResourceRelativePath) |
addConfigurationListener, addErrorListener, addProperty, addPropertyDirect, addPropertyImpl, clear, clearConfigurationListeners, clearErrorListeners, clearPropertyDirect, containsKey, copy, fireError, fireEvent, getConfigurationListeners, getErrorListeners, getKeys, getProperty, isEmpty, loadProperties, removeConfigurationListener, removeErrorListener, setProperty, setPropertyImpl
addErrorLogListener, append, clearProperty, createInterpolator, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getDefaultListDelimiter, getDelimiter, getDouble, getDouble, getDouble, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getInterpolator, getKeys, getList, getList, getListDelimiter, getLogger, getLong, getLong, getLong, getProperties, getProperties, getShort, getShort, getShort, getString, getString, getStringArray, getSubstitutor, interpolate, interpolate, interpolatedConfiguration, interpolateHelper, isDelimiterParsingDisabled, isScalarValue, isThrowExceptionOnMissing, resolveContainerStore, setDefaultListDelimiter, setDelimiter, setDelimiterParsingDisabled, setListDelimiter, setLogger, setThrowExceptionOnMissing, subset
public String getConfigNameProperty()
public static void setConfigNameProperty(String configNameProperty)
configNameProperty
- public String getPropertiesResourceRelativePath()
public static void setPropertiesResourceRelativePath(String propertiesResourceRelativePath)
propertiesResourceRelativePath
- public Properties getProperties()
getProperties
in class ConcurrentMapConfiguration
public static void initialize()
Copyright © 2017. All Rights Reserved.