public class PropertyPlaceholderConfigurer
extends org.springframework.beans.factory.config.PropertyPlaceholderConfigurer
implements org.springframework.context.ResourceLoaderAware, org.springframework.beans.factory.InitializingBean
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 String |
resolvePlaceholder(String placeholder,
Properties props,
int systemPropertiesMode) |
void |
setLocationNames(String[] locations) |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader loader) |
static String |
trimToEmpty(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(String[] locations)
public void afterPropertiesSet()
throws Exception
afterPropertiesSet 在接口中 org.springframework.beans.factory.InitializingBeanExceptionprotected String resolvePlaceholder(String placeholder, Properties props, int systemPropertiesMode)
resolvePlaceholder 在类中 org.springframework.beans.factory.config.PropertyPlaceholderConfigurerCopyright © 2018. All rights reserved.