public class ConnectionPoolDataSource extends CommonDataSource<ConnectionPoolDataSource,ConnectionPoolDataSourceDatabase,ConnectionPoolDataSourceProxyFactory> implements ConnectionPoolDataSource
Constructor and Description |
---|
ConnectionPoolDataSource()
Constructs a new ConnectionPoolDataSource
|
Modifier and Type | Method and Description |
---|---|
ConnectionPoolDataSourceProxyFactory |
createProxyFactory(DatabaseCluster<ConnectionPoolDataSource,ConnectionPoolDataSourceDatabase> cluster) |
PooledConnection |
getPooledConnection() |
PooledConnection |
getPooledConnection(String user,
String password) |
create, getCluster, getConfig, getConfigurationFactory, getFactory, getLoginTimeout, getLogWriter, getParentLogger, getPassword, getProxy, getReference, getTimeout, getUser, setCluster, setConfig, setConfigurationFactory, setFactory, setLoginTimeout, setLogWriter, setPassword, setTimeout, setUser, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriter
public ConnectionPoolDataSource()
public ConnectionPoolDataSourceProxyFactory createProxyFactory(DatabaseCluster<ConnectionPoolDataSource,ConnectionPoolDataSourceDatabase> cluster)
public PooledConnection getPooledConnection() throws SQLException
getPooledConnection
in interface ConnectionPoolDataSource
SQLException
ConnectionPoolDataSource.getPooledConnection()
public PooledConnection getPooledConnection(String user, String password) throws SQLException
getPooledConnection
in interface ConnectionPoolDataSource
SQLException
ConnectionPoolDataSource.getPooledConnection(java.lang.String, java.lang.String)
Copyright © 2004–2014 Paul Ferraro. All rights reserved.