View Javadoc
1   package org.kuali.ole;
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.core.env.PropertySource;
8   
9   /**
10   * Created by pvsubrah on 7/15/14.
11   */
12  public class OleLiquibaseSqlPropertySourceConfig {
13      @Bean
14      public PropertySource<?> springPropertySource() {
15          ProjectContext project = new OleLiquibaseSqlProjectContext();
16          ProjectContext other = new JdbcProjectContext();
17          return SpringUtils.getGlobalPropertySource(project, other);
18      }
19  }