org.onebusaway.container.spring
Class PropertyOverrideConfigurer
java.lang.Object
org.springframework.core.io.support.PropertiesLoaderSupport
org.springframework.beans.factory.config.PropertyResourceConfigurer
org.springframework.beans.factory.config.PropertyOverrideConfigurer
org.onebusaway.container.spring.PropertyOverrideConfigurer
- All Implemented Interfaces:
- org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered
- Direct Known Subclasses:
- PropertyOverrideBeanFactoryPostProcessor
public class PropertyOverrideConfigurer
- extends org.springframework.beans.factory.config.PropertyOverrideConfigurer
Extension of Spring's
PropertyOverrideConfigurer
that supports System.getProperty(String)
expansion of
${...}
property expressions in override values.
- Author:
- bdferris
Fields inherited from class org.springframework.beans.factory.config.PropertyOverrideConfigurer |
DEFAULT_BEAN_NAME_SEPARATOR |
Fields inherited from class org.springframework.core.io.support.PropertiesLoaderSupport |
logger, XML_FILE_EXTENSION |
Fields inherited from interface org.springframework.core.Ordered |
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE |
Methods inherited from class org.springframework.beans.factory.config.PropertyOverrideConfigurer |
hasPropertyOverridesFor, processKey, processProperties, setBeanNameSeparator, setIgnoreInvalidKeys |
Methods inherited from class org.springframework.beans.factory.config.PropertyResourceConfigurer |
convertProperties, convertPropertyValue, getOrder, postProcessBeanFactory, setOrder |
Methods inherited from class org.springframework.core.io.support.PropertiesLoaderSupport |
loadProperties, mergeProperties, setFileEncoding, setIgnoreResourceNotFound, setLocalOverride, setLocation, setLocations, setProperties, setPropertiesArray, setPropertiesPersister |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyOverrideConfigurer
public PropertyOverrideConfigurer()
setIgnoreInvalidBeans
public void setIgnoreInvalidBeans(boolean ignoreInvalidBeans)
applyPropertyValue
protected void applyPropertyValue(org.springframework.beans.factory.config.ConfigurableListableBeanFactory factory,
String beanName,
String property,
String value)
- Overrides:
applyPropertyValue
in class org.springframework.beans.factory.config.PropertyOverrideConfigurer
resolveValue
protected String resolveValue(String value)
Copyright © 2012 OneBusAway. All Rights Reserved.