org.apache.commons.dbcp
Class DriverConnectionFactory

java.lang.Object
  extended byorg.apache.commons.dbcp.DriverConnectionFactory
All Implemented Interfaces:
ConnectionFactory

public class DriverConnectionFactory
extends Object
implements ConnectionFactory

A Driver-based implementation of ConnectionFactory.

Version:
$Revision: 1.7 $ $Date: 2004/02/28 12:18:17 $
Author:
Rodney Waldhoff

Constructor Summary
DriverConnectionFactory(Driver driver, String connectUri, Properties props)
           
 
Method Summary
 Connection createConnection()
          Create a new Connection in an implementation specific fashion.
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DriverConnectionFactory

public DriverConnectionFactory(Driver driver,
                               String connectUri,
                               Properties props)
Method Detail

createConnection

public Connection createConnection()
                            throws SQLException
Description copied from interface: ConnectionFactory
Create a new Connection in an implementation specific fashion.

Specified by:
createConnection in interface ConnectionFactory
Returns:
a new Connection
Throws:
SQLException

toString

public String toString()


Copyright © 2001-2003 Apache Software Foundation. Documenation generated October 18 2004.