org.sakaiproject.util
Class ReversiblePropertyOverrideConfigurer
java.lang.Object
org.springframework.core.io.support.PropertiesLoaderSupport
org.springframework.beans.factory.config.PropertyResourceConfigurer
org.springframework.beans.factory.config.PropertyOverrideConfigurer
org.sakaiproject.util.ReversiblePropertyOverrideConfigurer
- All Implemented Interfaces:
- org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.core.Ordered, org.springframework.core.PriorityOrdered
public class ReversiblePropertyOverrideConfigurer
- extends org.springframework.beans.factory.config.PropertyOverrideConfigurer
This is just a version of Spring's PropertyOverrideConfigurer that lets the
bean name be specified Sakai-style before the property name instead of after.
(For example "myBean@the.property" instead of "the.property@myBean".)
| 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 |
applyPropertyValue, hasPropertyOverridesFor, processProperties, 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 |
ReversiblePropertyOverrideConfigurer
public ReversiblePropertyOverrideConfigurer()
processKey
protected void processKey(org.springframework.beans.factory.config.ConfigurableListableBeanFactory factory,
String key,
String value)
throws org.springframework.beans.BeansException
- Overrides:
processKey in class org.springframework.beans.factory.config.PropertyOverrideConfigurer
- Throws:
org.springframework.beans.BeansException
setBeanNameSeparator
public void setBeanNameSeparator(String beanNameSeparator)
- Overrides:
setBeanNameSeparator in class org.springframework.beans.factory.config.PropertyOverrideConfigurer
isBeanNameAtEnd
public boolean isBeanNameAtEnd()
setBeanNameAtEnd
public void setBeanNameAtEnd(boolean beanNameAtEnd)
Copyright © 2003-2012 The Sakai Foundation. All Rights Reserved.