public interface ConnectionPoolProvider
Modifier and Type | Method and Description |
---|---|
ConnectionPool |
createConnectionPool(User user,
Database database) |
static ConnectionPoolProvider |
getConnectionPoolProvider() |
static ConnectionPoolProvider |
getConnectionPoolProvider(java.lang.String classname) |
ConnectionPool createConnectionPool(User user, Database database) throws DatabaseException
user
- the user to base the pooled connections ondatabase
- the underlying databaseDatabaseException
- in case of an exceptionstatic ConnectionPoolProvider getConnectionPoolProvider(java.lang.String classname)
static ConnectionPoolProvider getConnectionPoolProvider()