View Javadoc
1   package org.kuali.ole.db.sql;
2   
3   import org.kuali.common.jdbc.JdbcProjectContext;
4   import org.kuali.common.util.ProjectContext;
5   import org.kuali.common.util.spring.SpringUtils;
6   import org.springframework.context.annotation.Bean;
7   import org.springframework.context.annotation.Configuration;
8   import org.springframework.core.env.PropertySource;
9   
10  @Configuration
11  public class OleMasterSqlPropertySourceConfig {
12  
13  	@Bean
14  	public PropertySource<?> springPropertySource() {
15  		ProjectContext project = new OleMasterSqlProjectContext();
16  		ProjectContext other = new JdbcProjectContext();
17  		return SpringUtils.getGlobalPropertySource(project, other);
18  	}
19  
20  }