public final class WrapperConnectionPoolDataSource extends WrapperConnectionPoolDataSourceBase implements javax.sql.ConnectionPoolDataSource
pcs, vcs
Constructor and Description |
---|
WrapperConnectionPoolDataSource() |
WrapperConnectionPoolDataSource(boolean autoregister) |
WrapperConnectionPoolDataSource(java.lang.String configName) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
extraToStringInfo() |
int |
getLoginTimeout() |
java.io.PrintWriter |
getLogWriter() |
java.lang.String |
getPassword() |
javax.sql.PooledConnection |
getPooledConnection() |
protected javax.sql.PooledConnection |
getPooledConnection(ConnectionCustomizer cc,
java.lang.String pdsIdt) |
javax.sql.PooledConnection |
getPooledConnection(java.lang.String user,
java.lang.String password) |
protected javax.sql.PooledConnection |
getPooledConnection(java.lang.String user,
java.lang.String password,
ConnectionCustomizer cc,
java.lang.String pdsIdt) |
java.lang.String |
getUser() |
java.util.Map |
getUserOverrides() |
void |
setLoginTimeout(int seconds) |
void |
setLogWriter(java.io.PrintWriter out) |
java.lang.String |
toString() |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, getAcquireIncrement, getAcquireRetryAttempts, getAcquireRetryDelay, getAutomaticTestTable, getCheckoutTimeout, getConnectionCustomizerClassName, getConnectionTesterClassName, getContextClassLoaderSource, getFactoryClassLocation, getIdentityToken, getIdleConnectionTestPeriod, getInitialPoolSize, getMaxAdministrativeTaskTime, getMaxConnectionAge, getMaxIdleTime, getMaxIdleTimeExcessConnections, getMaxPoolSize, getMaxStatements, getMaxStatementsPerConnection, getMinPoolSize, getNestedDataSource, getOverrideDefaultPassword, getOverrideDefaultUser, getParentLogger, getPreferredTestQuery, getPropertyChangeListeners, getPropertyChangeSupport, getPropertyCycle, getReference, getStatementCacheNumDeferredCloseThreads, getUnreturnedConnectionTimeout, getUserOverridesAsString, getVetoableChangeListeners, getVetoableChangeSupport, isAutoCommitOnClose, isBreakAfterAcquireFailure, isDebugUnreturnedConnectionStackTraces, isForceIgnoreUnresolvedTransactions, isForceSynchronousCheckins, isPrivilegeSpawnedThreads, isTestConnectionOnCheckin, isTestConnectionOnCheckout, isUsesTraditionalReflectiveProxies, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, setAcquireIncrement, setAcquireRetryAttempts, setAcquireRetryDelay, setAutoCommitOnClose, setAutomaticTestTable, setBreakAfterAcquireFailure, setCheckoutTimeout, setConnectionCustomizerClassName, setConnectionTesterClassName, setContextClassLoaderSource, setDebugUnreturnedConnectionStackTraces, setFactoryClassLocation, setForceIgnoreUnresolvedTransactions, setForceSynchronousCheckins, setIdentityToken, setIdleConnectionTestPeriod, setInitialPoolSize, setMaxAdministrativeTaskTime, setMaxConnectionAge, setMaxIdleTime, setMaxIdleTimeExcessConnections, setMaxPoolSize, setMaxStatements, setMaxStatementsPerConnection, setMinPoolSize, setNestedDataSource, setOverrideDefaultPassword, setOverrideDefaultUser, setPreferredTestQuery, setPrivilegeSpawnedThreads, setPropertyCycle, setStatementCacheNumDeferredCloseThreads, setTestConnectionOnCheckin, setTestConnectionOnCheckout, setUnreturnedConnectionTimeout, setUserOverridesAsString, setUsesTraditionalReflectiveProxies
doResolve, readResolve, verifyResolve
equals, hashCode
public WrapperConnectionPoolDataSource(boolean autoregister)
public WrapperConnectionPoolDataSource()
public WrapperConnectionPoolDataSource(java.lang.String configName)
public javax.sql.PooledConnection getPooledConnection() throws java.sql.SQLException
getPooledConnection
in interface javax.sql.ConnectionPoolDataSource
java.sql.SQLException
protected javax.sql.PooledConnection getPooledConnection(ConnectionCustomizer cc, java.lang.String pdsIdt) throws java.sql.SQLException
getPooledConnection
in class WrapperConnectionPoolDataSourceBase
java.sql.SQLException
public javax.sql.PooledConnection getPooledConnection(java.lang.String user, java.lang.String password) throws java.sql.SQLException
getPooledConnection
in interface javax.sql.ConnectionPoolDataSource
java.sql.SQLException
protected javax.sql.PooledConnection getPooledConnection(java.lang.String user, java.lang.String password, ConnectionCustomizer cc, java.lang.String pdsIdt) throws java.sql.SQLException
getPooledConnection
in class WrapperConnectionPoolDataSourceBase
java.sql.SQLException
public java.io.PrintWriter getLogWriter() throws java.sql.SQLException
getLogWriter
in interface javax.sql.CommonDataSource
java.sql.SQLException
public void setLogWriter(java.io.PrintWriter out) throws java.sql.SQLException
setLogWriter
in interface javax.sql.CommonDataSource
java.sql.SQLException
public void setLoginTimeout(int seconds) throws java.sql.SQLException
setLoginTimeout
in interface javax.sql.CommonDataSource
java.sql.SQLException
public int getLoginTimeout() throws java.sql.SQLException
getLoginTimeout
in interface javax.sql.CommonDataSource
java.sql.SQLException
public java.lang.String getUser()
public java.lang.String getPassword()
public java.util.Map getUserOverrides()
public java.lang.String toString()
toString
in class WrapperConnectionPoolDataSourceBase
protected java.lang.String extraToStringInfo()
extraToStringInfo
in class WrapperConnectionPoolDataSourceBase