org.jboss.soa.esb.connection
Class DriverConnectionFactory

java.lang.Object
  extended by org.jboss.soa.esb.connection.DriverConnectionFactory
All Implemented Interfaces:
ConnectionFactory

public class DriverConnectionFactory
extends java.lang.Object
implements ConnectionFactory

Driver implementation of Connection Factory

Author:
MohitK Date: Jul 18, 2006

Constructor Summary
DriverConnectionFactory(java.sql.Driver driver, java.lang.String driverUrl, java.util.Properties connectionProps)
           
 
Method Summary
 java.sql.Connection createConnection()
          Creates a new JDBC Connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverConnectionFactory

public DriverConnectionFactory(java.sql.Driver driver,
                               java.lang.String driverUrl,
                               java.util.Properties connectionProps)
Method Detail

createConnection

public java.sql.Connection createConnection()
                                     throws java.sql.SQLException
Description copied from interface: ConnectionFactory
Creates a new JDBC Connection. The implementation is left to the classes.

Specified by:
createConnection in interface ConnectionFactory
Returns:
Connection
Throws:
java.sql.SQLException
See Also:
ConnectionFactory.createConnection()