KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ibatis > sqlmap > engine > impl > ExtendedSqlMapClient


1 /*
2  * Copyright 2004 Clinton Begin
3  *
4  * Licensed under the Apache 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.apache.org/licenses/LICENSE-2.0
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 com.ibatis.sqlmap.engine.impl;
17
18 import com.ibatis.sqlmap.client.SqlMapClient;
19 import com.ibatis.sqlmap.engine.execution.SqlExecutor;
20 import com.ibatis.sqlmap.engine.mapping.statement.MappedStatement;
21
22 /**
23  * A more advanced SQL map client interface
24  */

25 public interface ExtendedSqlMapClient extends SqlMapClient {
26
27   /**
28    * Get the SQL delegate
29    *
30    * @return - the SqlMapExecutorDelegate
31    */

32   public SqlMapExecutorDelegate getDelegate();
33
34   /**
35    * Get a mapped statement by ID
36    *
37    * @param id - the ID
38    *
39    * @return - the mapped statement
40    */

41   public MappedStatement getMappedStatement(String JavaDoc id);
42
43   /**
44    * Get the SQL executor
45    *
46    * @return - the SQL executor
47    */

48   public SqlExecutor getSqlExecutor();
49
50   /**
51    * Get the status of lazy loading
52    *
53    * @return - the status
54    */

55   public boolean isLazyLoadingEnabled();
56
57   /**
58    * Get the status of CGLib enhancements
59    *
60    * @return - the status
61    */

62   public boolean isEnhancementEnabled();
63
64 }
65
Popular Tags