com.stratelia.webactiv.util.pool
Class ConnectionPool

java.lang.Object
  extended by com.stratelia.webactiv.util.pool.ConnectionPool

public class ConnectionPool
extends Object


Method Summary
static Connection getConnection()
          Return a connection to Silverpeas database from the pool.
static void releaseConnections()
          Release all the connections and close the pool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

releaseConnections

public static void releaseConnections()
                               throws SQLException
Release all the connections and close the pool.

Throws:
SQLException

getConnection

public static Connection getConnection()
                                throws SQLException
Return a connection to Silverpeas database from the pool.

Returns:
a connection to Silverpeas database.
Throws:
SQLException


Copyright © 2016 Silverpeas. All Rights Reserved.