1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.Constants;
23 import org.kuali.common.util.property.GlobalPropertiesMode;
24 import org.springframework.util.PropertyPlaceholderHelper;
25
26 public class DefaultSpringContext implements SpringContext {
27
28 PropertyPlaceholderHelper helper = Constants.DEFAULT_PROPERTY_PLACEHOLDER_HELPER;
29 GlobalPropertiesMode globalPropertiesMode = Constants.DEFAULT_GLOBAL_PROPERTIES_MODE;
30 String encoding;
31 String contextLocation;
32 Properties properties;
33 File workingDir;
34 boolean filterContext;
35 List<String> filterIncludes;
36 List<String> filterExcludes;
37
38 public PropertyPlaceholderHelper getHelper() {
39 return helper;
40 }
41
42 public void setHelper(PropertyPlaceholderHelper helper) {
43 this.helper = helper;
44 }
45
46 public GlobalPropertiesMode getGlobalPropertiesMode() {
47 return globalPropertiesMode;
48 }
49
50 public void setGlobalPropertiesMode(GlobalPropertiesMode globalPropertiesMode) {
51 this.globalPropertiesMode = globalPropertiesMode;
52 }
53
54 public String getEncoding() {
55 return encoding;
56 }
57
58 public void setEncoding(String encoding) {
59 this.encoding = encoding;
60 }
61
62 public String getContextLocation() {
63 return contextLocation;
64 }
65
66 public void setContextLocation(String contextLocation) {
67 this.contextLocation = contextLocation;
68 }
69
70 public Properties getProperties() {
71 return properties;
72 }
73
74 public void setProperties(Properties properties) {
75 this.properties = properties;
76 }
77
78 public File getWorkingDir() {
79 return workingDir;
80 }
81
82 public void setWorkingDir(File workingDir) {
83 this.workingDir = workingDir;
84 }
85
86 public boolean isFilterContext() {
87 return filterContext;
88 }
89
90 public void setFilterContext(boolean filterContext) {
91 this.filterContext = filterContext;
92 }
93
94 public List<String> getFilterIncludes() {
95 return filterIncludes;
96 }
97
98 public void setFilterIncludes(List<String> filterIncludes) {
99 this.filterIncludes = filterIncludes;
100 }
101
102 public List<String> getFilterExcludes() {
103 return filterExcludes;
104 }
105
106 public void setFilterExcludes(List<String> filterExcludes) {
107 this.filterExcludes = filterExcludes;
108 }
109
110 }