public class ConnectionPoolDataSource extends CommonDataSourceProxy<javax.sql.ConnectionPoolDataSource> implements javax.sql.ConnectionPoolDataSource
| Constructor and Description |
|---|
ConnectionPoolDataSource()
Constructs a new ConnectionPoolDataSource
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLoginTimeout() |
java.io.PrintWriter |
getLogWriter() |
java.util.logging.Logger |
getParentLogger() |
javax.sql.PooledConnection |
getPooledConnection() |
javax.sql.PooledConnection |
getPooledConnection(java.lang.String user,
java.lang.String password) |
javax.naming.Reference |
getReference() |
void |
setLoginTimeout(int timeout) |
void |
setLogWriter(java.io.PrintWriter writer) |
getCluster, getConfig, getProxy, setCluster, setConfigpublic ConnectionPoolDataSource()
public javax.sql.PooledConnection getPooledConnection() throws java.sql.SQLException
getPooledConnection in interface javax.sql.ConnectionPoolDataSourcejava.sql.SQLExceptionConnectionPoolDataSource.getPooledConnection()public javax.sql.PooledConnection getPooledConnection(java.lang.String user, java.lang.String password) throws java.sql.SQLException
getPooledConnection in interface javax.sql.ConnectionPoolDataSourcejava.sql.SQLExceptionConnectionPoolDataSource.getPooledConnection(java.lang.String, java.lang.String)public int getLoginTimeout() throws java.sql.SQLException
getLoginTimeout in interface javax.sql.CommonDataSourcejava.sql.SQLExceptionCommonDataSource.getLoginTimeout()public java.io.PrintWriter getLogWriter() throws java.sql.SQLException
getLogWriter in interface javax.sql.CommonDataSourcejava.sql.SQLExceptionCommonDataSource.getLogWriter()public void setLoginTimeout(int timeout) throws java.sql.SQLException
setLoginTimeout in interface javax.sql.CommonDataSourcejava.sql.SQLExceptionCommonDataSource.setLoginTimeout(int)public void setLogWriter(java.io.PrintWriter writer) throws java.sql.SQLException
setLogWriter in interface javax.sql.CommonDataSourcejava.sql.SQLExceptionCommonDataSource.setLogWriter(java.io.PrintWriter)public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference in interface javax.naming.Referenceablejavax.naming.NamingExceptionReferenceable.getReference()public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException
getParentLogger in interface javax.sql.CommonDataSourcejava.sql.SQLFeatureNotSupportedException