net.sourceforge.jdbcimporter
Interface ConnectionDef

All Known Implementing Classes:
JDBCConnectionDef, JNDIConnectionDef, XalanConnectionDef

public interface ConnectionDef

The ConnectionDef interface defines methods to retrieve and release java.sql.Connection object.

Version:
0.6
Author:
Chris Nagy

Method Summary
 java.sql.Connection getConnection()
          Returns the connection.
 void releaseConnection(java.sql.Connection con)
          Releases the connection specified.
 

Method Detail

getConnection

public java.sql.Connection getConnection()
Returns the connection.

Returns:
the connection.

releaseConnection

public void releaseConnection(java.sql.Connection con)
Releases the connection specified. This method is called when the import is complete and the connection is no longer needed.

Parameters:
con - the connection.