1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.common.jdbc.spring;
17
18 import java.util.Arrays;
19 import java.util.List;
20
21 import org.kuali.common.util.property.ProjectProperties;
22 import org.kuali.common.util.spring.MavenPropertySourceConfig;
23 import org.springframework.beans.factory.annotation.Autowired;
24 import org.springframework.context.annotation.Configuration;
25 import org.springframework.context.annotation.Import;
26
27 @Configuration
28 @Import({ JdbcPropertiesConfig.class })
29 public class JdbcMavenPropertySourceConfig extends MavenPropertySourceConfig {
30
31 @Autowired
32 protected JdbcPropertiesConfig jdbcProperties;
33
34 @Override
35 protected List<ProjectProperties> getProjectPropertiesList() {
36 return Arrays.asList(jdbcProperties.jdbcProjectProperties());
37 }
38
39 }