org.axonframework.common.jdbc
Interface ConnectionProvider

All Known Implementing Classes:
DataSourceConnectionProvider, SpringDataSourceConnectionProvider, UnitOfWorkAwareConnectionProviderWrapper

public interface ConnectionProvider

Interface towards a mechanism that provides access to a JDBC Connection.

Since:
2.2
Author:
Allard Buijze

Method Summary
 Connection getConnection()
          Returns a connection, ready for use.
 

Method Detail

getConnection

Connection getConnection()
                         throws SQLException
Returns a connection, ready for use.

Returns:
a new connection to use
Throws:
SQLException - when an error occurs obtaining the connection


Copyright © 2010-2016. All Rights Reserved.