View Javadoc

1   /**
2    * Copyright 2010-2012 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.spring;
17  
18  import java.io.File;
19  import java.util.List;
20  import java.util.Properties;
21  
22  import org.kuali.common.util.property.GlobalPropertiesMode;
23  import org.springframework.util.PropertyPlaceholderHelper;
24  
25  public interface SpringContext {
26  
27  	GlobalPropertiesMode getGlobalPropertiesMode();
28  
29  	PropertyPlaceholderHelper getHelper();
30  
31  	String getEncoding();
32  
33  	String getContextLocation();
34  
35  	File getWorkingDir();
36  
37  	boolean isFilterContext();
38  
39  	List<String> getFilterIncludes();
40  
41  	List<String> getFilterExcludes();
42  
43  	List<String> getExportIncludes();
44  
45  	List<String> getExportExcludes();
46  
47  	boolean isExportProperties();
48  
49  	File getExportPropertiesFile();
50  
51  	String getExportPropertiesFileProperty();
52  
53  	Properties getProperties();
54  
55  }