com.atomikos.datasource.pool
Interface ConnectionFactory


public interface ConnectionFactory


Method Summary
 XPooledConnection createPooledConnection()
          Opens a new physical connection to the underlying resource and wraps it in a pooling-capable XPooledConnection.
 

Method Detail

createPooledConnection

XPooledConnection createPooledConnection()
                                         throws CreateConnectionException
Opens a new physical connection to the underlying resource and wraps it in a pooling-capable XPooledConnection.

Returns:
the XPooledConnection wrapping the physical connection.
Throws:
CreateConnectionException - If no connection could be created.


Copyright © 2011. All Rights Reserved.