View Javadoc

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.jdbc.spring;
17  
18  import org.kuali.common.jdbc.context.SqlExecutionContext;
19  import org.springframework.core.env.Environment;
20  
21  /**
22   * @deprecated
23   */
24  @Deprecated
25  public class SqlConfigContext {
26  
27  	Environment env;
28  	SqlExecutionContext context;
29  	JdbcCommonConfig commonConfig;
30  	JdbcDataSourceConfig dataSourceConfig;
31  
32  	public SqlConfigContext() {
33  		this(null, null, null, null);
34  	}
35  
36  	public SqlConfigContext(Environment env, SqlExecutionContext context, JdbcCommonConfig jcc, JdbcDataSourceConfig dsc) {
37  		super();
38  		this.env = env;
39  		this.context = context;
40  		this.commonConfig = jcc;
41  		this.dataSourceConfig = dsc;
42  	}
43  
44  	public Environment getEnv() {
45  		return env;
46  	}
47  
48  	public void setEnv(Environment env) {
49  		this.env = env;
50  	}
51  
52  	public JdbcCommonConfig getCommonConfig() {
53  		return commonConfig;
54  	}
55  
56  	public void setCommonConfig(JdbcCommonConfig commonConfig) {
57  		this.commonConfig = commonConfig;
58  	}
59  
60  	public JdbcDataSourceConfig getDataSourceConfig() {
61  		return dataSourceConfig;
62  	}
63  
64  	public void setDataSourceConfig(JdbcDataSourceConfig dataSourceConfig) {
65  		this.dataSourceConfig = dataSourceConfig;
66  	}
67  
68  	public SqlExecutionContext getContext() {
69  		return context;
70  	}
71  
72  	public void setContext(SqlExecutionContext context) {
73  		this.context = context;
74  	}
75  
76  }