Package 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.PropertyOverrideConfigurerThis 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".)
-
-
Constructor Summary
Constructors Constructor Description ReversiblePropertyOverrideConfigurer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisBeanNameAtEnd()protected voidprocessKey(org.springframework.beans.factory.config.ConfigurableListableBeanFactory factory, String key, String value)voidsetBeanNameAtEnd(boolean beanNameAtEnd)voidsetBeanNameSeparator(String beanNameSeparator)-
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, convertProperty, convertPropertyValue, getOrder, postProcessBeanFactory, setOrder
-
-
-
-
Method Detail
-
processKey
protected void processKey(org.springframework.beans.factory.config.ConfigurableListableBeanFactory factory, String key, String value) throws org.springframework.beans.BeansException- Overrides:
processKeyin classorg.springframework.beans.factory.config.PropertyOverrideConfigurer- Throws:
org.springframework.beans.BeansException
-
setBeanNameSeparator
public void setBeanNameSeparator(String beanNameSeparator)
- Overrides:
setBeanNameSeparatorin classorg.springframework.beans.factory.config.PropertyOverrideConfigurer
-
isBeanNameAtEnd
public boolean isBeanNameAtEnd()
-
setBeanNameAtEnd
public void setBeanNameAtEnd(boolean beanNameAtEnd)
-
-