com.mchange.v2.c3p0

Class WrapperConnectionPoolDataSource

Implemented Interfaces:
ConnectionPoolDataSource

public final class WrapperConnectionPoolDataSource
extends WrapperConnectionPoolDataSourceBase
implements ConnectionPoolDataSource

Constructor Summary

WrapperConnectionPoolDataSource()
WrapperConnectionPoolDataSource(String configName)
WrapperConnectionPoolDataSource(boolean autoregister)

Method Summary

protected String
extraToStringInfo()
PrintWriter
getLogWriter()
int
getLoginTimeout()
String
getPassword()
PooledConnection
getPooledConnection()
PooledConnection
getPooledConnection(String user, String password)
protected PooledConnection
getPooledConnection(String user, String password, ConnectionCustomizer cc, String pdsIdt)
protected PooledConnection
getPooledConnection(ConnectionCustomizer cc, String pdsIdt)
String
getUser()
Map
getUserOverrides()
void
setLogWriter(PrintWriter out)
void
setLoginTimeout(int seconds)
String
toString()

Constructor Details

WrapperConnectionPoolDataSource

public WrapperConnectionPoolDataSource()

WrapperConnectionPoolDataSource

public WrapperConnectionPoolDataSource(String configName)

WrapperConnectionPoolDataSource

public WrapperConnectionPoolDataSource(boolean autoregister)

Method Details

extraToStringInfo

protected String extraToStringInfo()

getLogWriter

public PrintWriter getLogWriter()
            throws SQLException

getLoginTimeout

public int getLoginTimeout()
            throws SQLException

getPassword

public String getPassword()

getPooledConnection

public PooledConnection getPooledConnection()
            throws SQLException

getPooledConnection

public PooledConnection getPooledConnection(String user,
                                            String password)
            throws SQLException

getPooledConnection

protected PooledConnection getPooledConnection(String user,
                                               String password,
                                               ConnectionCustomizer cc,
                                               String pdsIdt)
            throws SQLException

getPooledConnection

protected PooledConnection getPooledConnection(ConnectionCustomizer cc,
                                               String pdsIdt)
            throws SQLException

getUser

public String getUser()

getUserOverrides

public Map getUserOverrides()

setLogWriter

public void setLogWriter(PrintWriter out)
            throws SQLException

setLoginTimeout

public void setLoginTimeout(int seconds)
            throws SQLException

toString

public String toString()