Class 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".)
    • Field Summary

      • Fields inherited from class org.springframework.beans.factory.config.PropertyOverrideConfigurer

        DEFAULT_BEAN_NAME_SEPARATOR
      • Fields inherited from class org.springframework.core.io.support.PropertiesLoaderSupport

        localOverride, localProperties, logger
      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isBeanNameAtEnd()  
      protected void processKey​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory factory, String key, String value)  
      void setBeanNameAtEnd​(boolean beanNameAtEnd)  
      void setBeanNameSeparator​(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
      • Methods inherited from class org.springframework.core.io.support.PropertiesLoaderSupport

        loadProperties, mergeProperties, setFileEncoding, setIgnoreResourceNotFound, setLocalOverride, setLocation, setLocations, setProperties, setPropertiesArray, setPropertiesPersister
    • Constructor Detail

      • ReversiblePropertyOverrideConfigurer

        public ReversiblePropertyOverrideConfigurer()
    • Method Detail

      • 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)