com.mchange.v2.c3p0
Class WrapperConnectionPoolDataSource

java.lang.Object
  extended bycom.mchange.v2.c3p0.impl.WrapperConnectionPoolDataSourceBase
      extended bycom.mchange.v2.c3p0.WrapperConnectionPoolDataSource
All Implemented Interfaces:
javax.sql.ConnectionPoolDataSource, javax.naming.Referenceable, java.io.Serializable

public final class WrapperConnectionPoolDataSource
extends com.mchange.v2.c3p0.impl.WrapperConnectionPoolDataSourceBase
implements javax.sql.ConnectionPoolDataSource

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mchange.v2.c3p0.impl.WrapperConnectionPoolDataSourceBase
pcs, vcs
 
Constructor Summary
WrapperConnectionPoolDataSource()
           
 
Method Summary
 int getLoginTimeout()
           
 java.io.PrintWriter getLogWriter()
           
 java.lang.String getPassword()
           
 javax.sql.PooledConnection getPooledConnection()
           
 javax.sql.PooledConnection getPooledConnection(java.lang.String user, java.lang.String password)
           
 java.lang.String getUser()
           
 void setLoginTimeout(int seconds)
           
 void setLogWriter(java.io.PrintWriter out)
           
 
Methods inherited from class com.mchange.v2.c3p0.impl.WrapperConnectionPoolDataSourceBase
addPropertyChangeListener, addVetoableChangeListener, getAcquireIncrement, getConnectionTesterClassName, getFactoryClassLocation, getIdleConnectionTestPeriod, getInitialPoolSize, getMaxIdleTime, getMaxPoolSize, getMaxStatements, getMinPoolSize, getNestedDataSource, getPropertyCycle, getReference, isAutoCommitOnClose, isForceIgnoreUnresolvedTransactions, isTestConnectionOnCheckout, removePropertyChangeListener, removeVetoableChangeListener, setAcquireIncrement, setAutoCommitOnClose, setConnectionTesterClassName, setFactoryClassLocation, setForceIgnoreUnresolvedTransactions, setIdleConnectionTestPeriod, setInitialPoolSize, setMaxIdleTime, setMaxPoolSize, setMaxStatements, setMinPoolSize, setNestedDataSource, setPropertyCycle, setTestConnectionOnCheckout, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WrapperConnectionPoolDataSource

public WrapperConnectionPoolDataSource()
Method Detail

getPooledConnection

public javax.sql.PooledConnection getPooledConnection()
                                               throws java.sql.SQLException
Specified by:
getPooledConnection in interface javax.sql.ConnectionPoolDataSource
Throws:
java.sql.SQLException

getPooledConnection

public javax.sql.PooledConnection getPooledConnection(java.lang.String user,
                                                      java.lang.String password)
                                               throws java.sql.SQLException
Specified by:
getPooledConnection in interface javax.sql.ConnectionPoolDataSource
Throws:
java.sql.SQLException

getLogWriter

public java.io.PrintWriter getLogWriter()
                                 throws java.sql.SQLException
Specified by:
getLogWriter in interface javax.sql.ConnectionPoolDataSource
Throws:
java.sql.SQLException

setLogWriter

public void setLogWriter(java.io.PrintWriter out)
                  throws java.sql.SQLException
Specified by:
setLogWriter in interface javax.sql.ConnectionPoolDataSource
Throws:
java.sql.SQLException

setLoginTimeout

public void setLoginTimeout(int seconds)
                     throws java.sql.SQLException
Specified by:
setLoginTimeout in interface javax.sql.ConnectionPoolDataSource
Throws:
java.sql.SQLException

getLoginTimeout

public int getLoginTimeout()
                    throws java.sql.SQLException
Specified by:
getLoginTimeout in interface javax.sql.ConnectionPoolDataSource
Throws:
java.sql.SQLException

getUser

public java.lang.String getUser()

getPassword

public java.lang.String getPassword()