View Javadoc

1   package org.kuali.common.util.properties.spring;
2   
3   import org.kuali.common.util.spring.PropertySourceUtils;
4   import org.kuali.common.util.spring.service.PropertySourceConfig;
5   import org.springframework.context.annotation.Bean;
6   import org.springframework.context.annotation.Configuration;
7   import org.springframework.core.env.PropertySource;
8   
9   @Configuration
10  public class DefaultPropertySourceConfig implements PropertySourceConfig {
11  
12  	@Override
13  	@Bean
14  	public PropertySource<?> propertySource() {
15  		return PropertySourceUtils.getDefaultPropertySource();
16  	}
17  
18  }