com.townleyenterprises.persistence
Interface ConnectionFactory


public interface ConnectionFactory

This mix-in interface provides database connections.

Since:
2.1
Version:
$Id: ConnectionFactory.java,v 1.2 2004/07/28 10:33:59 atownley Exp $
Author:
Andrew S. Townley

Method Summary
 java.sql.Connection getConnection()
          This method returns an initialized database conneciton object.
 

Method Detail

getConnection

public java.sql.Connection getConnection()
                                  throws java.sql.SQLException
This method returns an initialized database conneciton object.

Returns:
the connection
Throws:
java.sql.SQLException - if unable to provide the connection


Copyright © 2002-2004, Andrew S. Townley and Townley Enterprises. All Rights Reserved.
This project is hosted on http://te-code.sourceforge.net.