Package ubic.gemma.core.config
Class SettingsConfig
- java.lang.Object
- 
- ubic.gemma.core.config.SettingsConfig
 
- 
 @Configuration public class SettingsConfig extends Object Beans declaration for making the settings available via the Spring Environment and placeholder substitution.- Author:
- poirigui
 
- 
- 
Constructor SummaryConstructors Constructor Description SettingsConfig()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static BaseCodeConfigurerbaseCodeConfigurer(PropertySources ps)ConversionServiceconversionService()The default Spring conversion service has limited support for Java 8 types.static PropertySourcesPlaceholderConfigurerpropertySourcesPlaceholderConfigurer(PropertySources ps)Allow for substitution placeholders with values from the settings.static PropertySourcessettingsPropertySources()Property sources populated from various settings files.
 
- 
- 
- 
Method Detail- 
propertySourcesPlaceholderConfigurer@Bean public static PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer(@Qualifier("settingsPropertySources") PropertySources ps) Allow for substitution placeholders with values from the settings.
 - 
baseCodeConfigurer@Bean public static BaseCodeConfigurer baseCodeConfigurer(@Qualifier("settingsPropertySources") PropertySources ps) 
 - 
conversionService@Bean public ConversionService conversionService() The default Spring conversion service has limited support for Java 8 types.This might be resolved in Spring 4+, in which case we could remove this declaration. 
 - 
settingsPropertySources@Bean public static PropertySources settingsPropertySources() throws IOException Property sources populated from various settings files.This is mainly used by propertySourcesPlaceholderConfigurer(PropertySources)for substituting${...}placeholders.- Throws:
- IOException
 
 
- 
 
-