com.silverpeas.wysiwyg.dynamicvalue.pool
Interface ConnectionPool

All Known Implementing Classes:
ConnectionPoolWithJDBC, ConnectionPoolWithJNDI

public interface ConnectionPool

Describes the service contract for the connection Pool used to connect to the Database


Method Summary
 Connection getConnection()
          gets a JDBC connection
 ConnectionPoolInformation getPoolInformation()
           
 void setPoolInformation(ConnectionPoolInformation poolInfo)
           
 

Method Detail

getConnection

Connection getConnection()
                         throws SQLException
gets a JDBC connection

Returns:
a SQL Connection
Throws:
SQLException

getPoolInformation

ConnectionPoolInformation getPoolInformation()
Returns:

setPoolInformation

void setPoolInformation(ConnectionPoolInformation poolInfo)
Parameters:
poolInfo -


Copyright © 2016 Silverpeas. All Rights Reserved.