Interface ConnectionFactory
- All Known Implementing Classes:
DataSourceConnectionFactory
,DriverConnectionFactory
,JNDIConnectionFactory
public interface ConnectionFactory
Interface for creation of new JDBC Connection instances.
- Since:
- 0.9.9
- Version:
- $Revision: 8111 $ $Date: 2005-07-24 14:37:16 -0600 (Sun, 24 Jul 2005) $
- Author:
- Werner Guttmann, Ralf Joachim
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new JDBC Connection instance.void
Initialize the concrete factory.
-
Method Details
-
initializeFactory
Initialize the concrete factory.- Throws:
MappingException
- If concrete factory could not be initialized.
-
createConnection
Creates a new JDBC Connection instance.- Returns:
- A JDBC Connection.
- Throws:
SQLException
- If the JDBC connection cannot be created.
-