org.jboss.soa.esb.connection
Interface ConnectionFactory

All Known Implementing Classes:
DriverConnectionFactory

public interface ConnectionFactory

Factory interface for creating connections based on different sources such as Driver, DriverManager or any third party implementation

Author:
MohitK Date: Jul 18, 2006

Method Summary
 java.sql.Connection createConnection()
          Creates a new JDBC Connection.
 

Method Detail

createConnection

java.sql.Connection createConnection()
                                     throws java.sql.SQLException
Creates a new JDBC Connection. The implementation is left to the classes.

Returns:
Connection
Throws:
java.sql.SQLException