public class PropertyPlaceholderConfigurer
extends org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
implements org.springframework.context.ResourceLoaderAware, org.springframework.beans.factory.InitializingBean
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.ThreadLocal<java.util.Properties> |
propertiesLocal |
SYSTEM_PROPERTIES_MODE_FALLBACK, SYSTEM_PROPERTIES_MODE_NEVER, SYSTEM_PROPERTIES_MODE_OVERRIDEDEFAULT_PLACEHOLDER_PREFIX, DEFAULT_PLACEHOLDER_SUFFIX, DEFAULT_VALUE_SEPARATOR, ignoreUnresolvablePlaceholders, nullValue, placeholderPrefix, placeholderSuffix, valueSeparator| 构造器和说明 |
|---|
PropertyPlaceholderConfigurer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
afterPropertiesSet() |
protected java.lang.String |
resolvePlaceholder(java.lang.String placeholder,
java.util.Properties props,
int systemPropertiesMode) |
void |
setLocationNames(java.lang.String[] locations) |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader loader) |
static java.lang.String |
trimToEmpty(java.lang.String str) |
parseStringValue, processProperties, resolvePlaceholder, resolveSystemProperty, setSearchSystemEnvironment, setSystemPropertiesMode, setSystemPropertiesModeNamedoProcessProperties, setBeanFactory, setBeanName, setIgnoreUnresolvablePlaceholders, setNullValue, setPlaceholderPrefix, setPlaceholderSuffix, setValueSeparatorconvertProperties, convertProperty, convertPropertyValue, getOrder, postProcessBeanFactory, setOrderpublic void setResourceLoader(org.springframework.core.io.ResourceLoader loader)
setResourceLoader 在接口中 org.springframework.context.ResourceLoaderAwarepublic void setLocationNames(java.lang.String[] locations)
public void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanjava.lang.Exceptionprotected java.lang.String resolvePlaceholder(java.lang.String placeholder,
java.util.Properties props,
int systemPropertiesMode)
resolvePlaceholder 在类中 org.springframework.beans.factory.config.PropertyPlaceholderConfigurerpublic static java.lang.String trimToEmpty(java.lang.String str)
Copyright © 2019. All rights reserved.