public final class JndiRefConnectionPoolDataSource extends IdentityTokenResolvable implements javax.sql.ConnectionPoolDataSource, java.io.Serializable, javax.naming.Referenceable
Constructor and Description |
---|
JndiRefConnectionPoolDataSource() |
JndiRefConnectionPoolDataSource(boolean autoregister) |
Modifier and Type | Method and Description |
---|---|
int |
getAcquireIncrement() |
int |
getAcquireRetryAttempts() |
int |
getAcquireRetryDelay() |
java.lang.String |
getAutomaticTestTable() |
int |
getCheckoutTimeout() |
java.lang.String |
getConnectionTesterClassName() |
java.lang.String |
getFactoryClassLocation() |
java.lang.String |
getIdentityToken() |
int |
getIdleConnectionTestPeriod() |
int |
getInitialPoolSize() |
java.util.Hashtable |
getJndiEnv() |
java.lang.Object |
getJndiName() |
int |
getLoginTimeout() |
java.io.PrintWriter |
getLogWriter() |
int |
getMaxIdleTime() |
int |
getMaxPoolSize() |
int |
getMaxStatements() |
int |
getMaxStatementsPerConnection() |
int |
getMinPoolSize() |
java.util.logging.Logger |
getParentLogger() |
javax.sql.PooledConnection |
getPooledConnection() |
javax.sql.PooledConnection |
getPooledConnection(java.lang.String user,
java.lang.String password) |
java.lang.String |
getPreferredTestQuery() |
int |
getPropertyCycle() |
javax.naming.Reference |
getReference() |
boolean |
isAutoCommitOnClose() |
boolean |
isBreakAfterAcquireFailure() |
boolean |
isForceIgnoreUnresolvedTransactions() |
boolean |
isJndiLookupCaching() |
boolean |
isTestConnectionOnCheckin() |
boolean |
isTestConnectionOnCheckout() |
boolean |
isUsesTraditionalReflectiveProxies() |
void |
setAcquireIncrement(int acquireIncrement) |
void |
setAcquireRetryAttempts(int ara) |
void |
setAcquireRetryDelay(int ard) |
void |
setAutoCommitOnClose(boolean autoCommitOnClose) |
void |
setAutomaticTestTable(java.lang.String att) |
void |
setBreakAfterAcquireFailure(boolean baaf) |
void |
setCheckoutTimeout(int ct) |
void |
setConnectionTesterClassName(java.lang.String connectionTesterClassName) |
void |
setFactoryClassLocation(java.lang.String factoryClassLocation) |
void |
setForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions) |
void |
setIdentityToken(java.lang.String identityToken) |
void |
setIdleConnectionTestPeriod(int idleConnectionTestPeriod) |
void |
setInitialPoolSize(int initialPoolSize) |
void |
setJndiEnv(java.util.Hashtable jndiEnv) |
void |
setJndiLookupCaching(boolean caching) |
void |
setJndiName(java.lang.Object jndiName) |
void |
setLoginTimeout(int seconds) |
void |
setLogWriter(java.io.PrintWriter out) |
void |
setMaxIdleTime(int maxIdleTime) |
void |
setMaxPoolSize(int maxPoolSize) |
void |
setMaxStatements(int maxStatements) |
void |
setMaxStatementsPerConnection(int mspc) |
void |
setMinPoolSize(int minPoolSize) |
void |
setPreferredTestQuery(java.lang.String ptq) |
void |
setPropertyCycle(int propertyCycle) |
void |
setTestConnectionOnCheckin(boolean testConnectionOnCheckin) |
void |
setTestConnectionOnCheckout(boolean testConnectionOnCheckout) |
void |
setUsesTraditionalReflectiveProxies(boolean utrp) |
java.lang.String |
toString() |
doResolve, readResolve, verifyResolve
equals, hashCode
public JndiRefConnectionPoolDataSource()
public JndiRefConnectionPoolDataSource(boolean autoregister)
public boolean isJndiLookupCaching()
public void setJndiLookupCaching(boolean caching)
public java.util.Hashtable getJndiEnv()
public void setJndiEnv(java.util.Hashtable jndiEnv)
public java.lang.Object getJndiName()
public void setJndiName(java.lang.Object jndiName) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public int getAcquireIncrement()
public void setAcquireIncrement(int acquireIncrement)
public int getAcquireRetryAttempts()
public void setAcquireRetryAttempts(int ara)
public int getAcquireRetryDelay()
public void setAcquireRetryDelay(int ard)
public boolean isAutoCommitOnClose()
public void setAutoCommitOnClose(boolean autoCommitOnClose)
public void setAutomaticTestTable(java.lang.String att)
public java.lang.String getAutomaticTestTable()
public void setBreakAfterAcquireFailure(boolean baaf)
public boolean isBreakAfterAcquireFailure()
public void setCheckoutTimeout(int ct)
public int getCheckoutTimeout()
public java.lang.String getConnectionTesterClassName()
public void setConnectionTesterClassName(java.lang.String connectionTesterClassName) throws java.beans.PropertyVetoException
java.beans.PropertyVetoException
public boolean isForceIgnoreUnresolvedTransactions()
public void setForceIgnoreUnresolvedTransactions(boolean forceIgnoreUnresolvedTransactions)
public java.lang.String getIdentityToken()
getIdentityToken
in interface IdentityTokenized
public void setIdentityToken(java.lang.String identityToken)
setIdentityToken
in interface IdentityTokenized
public void setIdleConnectionTestPeriod(int idleConnectionTestPeriod)
public int getIdleConnectionTestPeriod()
public int getInitialPoolSize()
public void setInitialPoolSize(int initialPoolSize)
public int getMaxIdleTime()
public void setMaxIdleTime(int maxIdleTime)
public int getMaxPoolSize()
public void setMaxPoolSize(int maxPoolSize)
public int getMaxStatements()
public void setMaxStatements(int maxStatements)
public int getMaxStatementsPerConnection()
public void setMaxStatementsPerConnection(int mspc)
public int getMinPoolSize()
public void setMinPoolSize(int minPoolSize)
public java.lang.String getPreferredTestQuery()
public void setPreferredTestQuery(java.lang.String ptq)
public int getPropertyCycle()
public void setPropertyCycle(int propertyCycle)
public boolean isTestConnectionOnCheckin()
public void setTestConnectionOnCheckin(boolean testConnectionOnCheckin)
public boolean isTestConnectionOnCheckout()
public void setTestConnectionOnCheckout(boolean testConnectionOnCheckout)
public boolean isUsesTraditionalReflectiveProxies()
public void setUsesTraditionalReflectiveProxies(boolean utrp)
public java.lang.String getFactoryClassLocation()
public void setFactoryClassLocation(java.lang.String factoryClassLocation)
public javax.naming.Reference getReference() throws javax.naming.NamingException
getReference
in interface javax.naming.Referenceable
javax.naming.NamingException
public javax.sql.PooledConnection getPooledConnection() throws java.sql.SQLException
getPooledConnection
in interface javax.sql.ConnectionPoolDataSource
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
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 toString()
toString
in class java.lang.Object
public java.util.logging.Logger getParentLogger() throws java.sql.SQLFeatureNotSupportedException
getParentLogger
in interface javax.sql.CommonDataSource
java.sql.SQLFeatureNotSupportedException