View Javadoc

1   package org.kuali.student.deploy.spring;
2   
3   import java.util.ArrayList;
4   import java.util.List;
5   
6   import org.kuali.common.deploy.config.KualiDeployConfig;
7   import org.kuali.common.util.config.KualiUtilConfig;
8   import org.kuali.student.deploy.config.KSDeploymentResourcesConfig;
9   import org.springframework.context.annotation.Configuration;
10  
11  @Configuration
12  public class DeployAppPropertySourceConfig extends InitAppDbPropertySourceConfig {
13  
14      protected static final String BASE_CONFIG_ID = KSDeploymentResourcesConfig.DEPLOY.getConfigId();
15  
16      @Override
17      protected List<String> getConfigIds() {
18          List<String> configIds = new ArrayList<String>();
19          configIds.addAll(super.getBaseConfigIds());
20          configIds.add(KualiUtilConfig.METAINF_MPX.getConfigId());
21          configIds.add(KualiDeployConfig.DEFAULT.getConfigId());
22          configIds.add(super.getAppConfigId(BASE_CONFIG_ID));
23          return configIds;
24      }
25  
26  }