org.cloudgraph.rdb.connect
Interface ConnectionProvider

All Known Subinterfaces:
DataSourceProvder, PoolProvder
All Known Implementing Classes:
JNDIDataSourceProvider

public interface ConnectionProvider

Supplies connections from a source pool or data source. Connections should always be closed after use.


Method Summary
 Connection getConnection()
          Returns a connection from an underlying pool or data source.
 

Method Detail

getConnection

Connection getConnection()
                         throws SQLException
Returns a connection from an underlying pool or data source. Connections should always be closed after use.

Returns:
the connection
Throws:
SQLException


Copyright © 2014. All rights reserved.