org.apache.commons.dbcp
Interface ConnectionFactory
- All Known Implementing Classes:
- DataSourceConnectionFactory, DriverConnectionFactory, DriverManagerConnectionFactory
public interface ConnectionFactory
Abstract factory interface for creating Connection
s.
- Version:
- $Revision: 1.6 $ $Date: 2004/02/28 12:18:17 $
- Author:
- Rodney Waldhoff
Method Summary |
java.sql.Connection |
createConnection()
Create a new Connection in an
implementation specific fashion. |
createConnection
java.sql.Connection createConnection()
throws java.sql.SQLException
- Create a new
Connection
in an
implementation specific fashion.
- Returns:
- a new
Connection
- Throws:
java.sql.SQLException
Copyright © 2001-2003 Apache Software Foundation. Documenation generated August 20 2009.