1 /** 2 * Copyright 2010-2013 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.service; 17 18 import java.util.List; 19 import java.util.Properties; 20 21 /** 22 * @deprecated 23 */ 24 @Deprecated 25 public interface ConfigService { 26 27 /** 28 * Load and return properties corresponding to <code>configIds</code>. 29 * 30 * <pre> 31 * org.kuali.common:kuali-sql 32 * org.kuali.common:kuali-util:scm 33 * org.kuali.common:kuali-util:metainf:mpx 34 * </pre> 35 */ 36 Properties getProperties(List<String> configIds); 37 38 /** 39 * Load and return properties corresponding to <code>configId</code>. 40 * 41 * <pre> 42 * org.kuali.common:kuali-sql 43 * org.kuali.common:kuali-util:scm 44 * org.kuali.common:kuali-util:metainf:mpx 45 * </pre> 46 */ 47 Properties getProperties(String configId); 48 49 /** 50 * Load and return properties corresponding to <code>configIds</code>, any properties from <code>overrides</code> "win" over properties loaded from the configuration. 51 * 52 * <pre> 53 * org.kuali.common:kuali-sql 54 * org.kuali.common:kuali-util:scm 55 * org.kuali.common:kuali-util:metainf:mpx 56 * </pre> 57 */ 58 Properties getProperties(List<String> configIds, Properties overrides); 59 60 /** 61 * Load and return properties corresponding to <code>configId</code>, any properties from <code>overrides</code> "win" over properties loaded from the configuration. 62 * 63 * <pre> 64 * org.kuali.common:kuali-sql 65 * org.kuali.common:kuali-util:scm 66 * org.kuali.common:kuali-util:metainf:mpx 67 * </pre> 68 */ 69 Properties getProperties(String configId, Properties overrides); 70 }