Clover coverage report - JFox Service-Oriented Application Framework - 1.0-M2 Coverage timestamp: 星期四 十一月 25 2004 17:14:11 PST FRAMES NO FRAMES |
file stats: | LOC: | 34 |  | Methods: | 0
| NCLOC: | 7 |  | Classes: | 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
Source file | Conditionals | Statements | Methods | TOTAL
DataSourceService.java | - | - | - | - |

1 |  |
     /**
2 |  |
      * JFoxSOAF, Service-Oriented Application Framework
3 |  |
      *
4 |  |
      * Copyright (C) www.huihoo.org
5 |  |
      *
6 |  |
      * Distributable under GNU LGPL
7 |  |
      *
8 |  |
      * For more information, please visit: http://www.huihoo.org/jfox/jfoxsoaf
9 |  |
      */
10 |  |
11 |  |
     package org.huihoo.jfox.soaf.services.jdbc;
12 |  |
13 |  |
     import javax.sql.DataSource;
14 |  |
15 |  |
     import org.huihoo.jfox.soaf.exception.DataSourceConfigurationException;
16 |  |
     import org.huihoo.jfox.soaf.exception.ServiceLocatorException;
17 |  |
18 |  |
     /**
19 |  |
      * Database datasource serivce.
20 |  |
      *
21 |  |
      * @author <a href="mailto:founder_chen@yahoo.com.cn">Peter Cheng </a>
22 |  |
      * @version $Revision: 1.1 $ $Date: 2004/10/28 15:12:16 $
23 |  |
      * @version Revision: 1.0
24 |  |
      */
25 |  |
26 |  |
     public interface DataSourceService {
27 |  |
28 |  |
         /**
29 |  |
          * Get datasource from Container or local database connection pool.
30 |  |
          */
31 |  |
         public DataSource getDataSource(String dataSourceName)
32 |  |
                 throws DataSourceConfigurationException, ServiceLocatorException;
33 |  |
34 |  |
     }