Class BaseCodeConfigurer

java.lang.Object
ubic.gemma.core.config.BaseCodeConfigurer
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanFactoryPostProcessor

public class BaseCodeConfigurer extends Object implements org.springframework.beans.factory.config.BeanFactoryPostProcessor
Configure the baseCode library from a given property sources.

The preferred way is using the basecode. prefix in the properties.

For backward-compatibility, it will also detect properties declared in basecode.properties and warn accordingly.

Author:
poirigui
See Also:
  • Constructor Details

    • BaseCodeConfigurer

      public BaseCodeConfigurer()
  • Method Details

    • setPropertySources

      public void setPropertySources(org.springframework.core.env.PropertySources propertySources)
    • postProcessBeanFactory

      public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException
      Specified by:
      postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
      Throws:
      org.springframework.beans.BeansException