KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sapia > soto > datasource > DBCPSharedDsService


1 package org.sapia.soto.datasource;
2
3 import org.apache.commons.dbcp.datasources.SharedPoolDataSource;
4
5 import org.sapia.soto.Debug;
6
7
8 /**
9  * @author Yanick Duchesne
10  *
11  * <dl>
12  * <dt><b>Copyright:</b><dd>Copyright &#169; 2002-2004 <a HREF="http://www.sapia-oss.org">Sapia Open Source Software</a>. All Rights Reserved.</dd></dt>
13  * <dt><b>License:</b><dd>Read the license.txt file of the jar or visit the
14  * <a HREF="http://www.sapia-oss.org/license.html">license page</a> at the Sapia OSS web site</dd></dt>
15  * </dl>
16  */

17 public class DBCPSharedDsService extends SharedPoolDataSource
18   implements DataSourceService {
19   /**
20    * @see org.sapia.soto.Service#init()
21    */

22   public void init() throws Exception JavaDoc {
23   }
24
25   /**
26    * @see org.sapia.soto.Service#dispose()
27    */

28   public void dispose() {
29     try {
30       super.close();
31     } catch (Exception JavaDoc e) {
32       if (Debug.DEBUG) {
33         e.printStackTrace();
34       }
35     }
36   }
37
38   /**
39    * @see org.sapia.soto.Service#start()
40    */

41   public void start() throws Exception JavaDoc {
42   }
43 }
44
Popular Tags