org.sape.carbon.services.sql.connection
Interface ConnectionFactory

All Superinterfaces:
FunctionalInterface
All Known Subinterfaces:
DataSourceConnectionFactory
All Known Implementing Classes:
NamedDataSourceConnectionFactory, StandaloneConnectionFactory

public interface ConnectionFactory
extends FunctionalInterface

Factory for JDBC Connections. Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.5 $($Author: dvoet $ / $Date: 2003/05/05 21:21:36 $)
Author:
Chris Herron, March 2002

Method Summary
 Connection getConnection()
          Returns a connection based on the type of factory.
 

Method Detail

getConnection

public Connection getConnection()
                         throws SQLException
Returns a connection based on the type of factory.

Returns:
a connection
Throws:
SQLException - indicates an error making the connection


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.