View Javadoc
1   /**
2    * Copyright 2010-2014 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.common.util.config.spring.aggregation;
17  
18  import java.util.Properties;
19  
20  import org.kuali.common.util.project.model.Project;
21  import org.kuali.common.util.project.spring.AutowiredProjectConfig;
22  import org.springframework.beans.factory.annotation.Autowired;
23  import org.springframework.context.annotation.Configuration;
24  import org.springframework.context.annotation.Import;
25  
26  /**
27   * @deprecated
28   */
29  @Deprecated
30  @Configuration
31  @Import({ AutowiredProjectConfig.class })
32  public class ProjectConfigOverridesConfig implements ConfigOverridesConfig {
33  
34  	@Autowired
35  	Project project;
36  
37  	@Override
38  	public Properties configOverrideProperties() {
39  		Properties overrides = project.getProperties();
40  		return overrides;
41  	}
42  
43  }