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.
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.