com.silverpeas.wysiwyg.dynamicvalue.pool
Class ConnectionPoolWithJDBC
java.lang.Object
com.silverpeas.wysiwyg.dynamicvalue.pool.ConnectionPoolWithJDBC
- All Implemented Interfaces:
- ConnectionPool
public class ConnectionPoolWithJDBC
- extends Object
- implements ConnectionPool
This class allow the creation of connection pool to access external resource from Silverpeas it's
used for the dynamic value functionalities
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectionPoolWithJDBC
public ConnectionPoolWithJDBC()
- default constructor
getConnection
public Connection getConnection()
throws SQLException
- Description copied from interface:
ConnectionPool
- gets a JDBC connection
- Specified by:
getConnection
in interface ConnectionPool
- Returns:
- a SQL Connection
- Throws:
SQLException
getPoolInformation
public ConnectionPoolInformation getPoolInformation()
- Specified by:
getPoolInformation
in interface ConnectionPool
- Returns:
- the poolInfo
setPoolInformation
public void setPoolInformation(ConnectionPoolInformation poolInfo)
- Specified by:
setPoolInformation
in interface ConnectionPool
- Parameters:
poolInfo
- the poolInfo to set
Copyright © 2016 Silverpeas. All Rights Reserved.