org.pojava.persistence.sql
Interface ConnectionSource

All Known Implementing Classes:
DatabaseTransaction

public interface ConnectionSource

A connection source provides an interface allowing one to request a connection from a repository by a name.

Author:
John Pile

Method Summary
 Connection getConnection(String dataSourceName)
          Retrieve connection (will return an existing connection for the same dataSourceName if one is available).
 

Method Detail

getConnection

Connection getConnection(String dataSourceName)
Retrieve connection (will return an existing connection for the same dataSourceName if one is available).

Parameters:
dataSourceName -
Returns:
Connection


Copyright © 2011. All Rights Reserved.