1 package org.kuali.student.deploy.spring; 2 3 import java.util.Collections; 4 import java.util.List; 5 6 import org.kuali.common.util.properties.Location; 7 import org.kuali.common.util.properties.spring.PropertyLocationsConfig; 8 import org.springframework.beans.factory.annotation.Autowired; 9 import org.springframework.context.annotation.Bean; 10 import org.springframework.context.annotation.Configuration; 11 import org.springframework.context.annotation.Import; 12 13 @Configuration 14 @Import({ SourceDbLocationsConfig.class }) 15 public class SqlLocationsConfig implements PropertyLocationsConfig { 16 17 @Autowired 18 SourceDbLocationsConfig sourceDbLocationsConfig; 19 20 @Override 21 @Bean 22 public List<Location> propertyLocations() { 23 Location location = sourceDbLocationsConfig.ksSourceDbCommon(); 24 return Collections.singletonList(location); 25 } 26 }