|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.excalibur.datasource.AbstractJdbcConnection
org.apache.avalon.excalibur.datasource.Jdbc3Connection
public class Jdbc3Connection
The Connection object used in conjunction with the JdbcDataSource object.
Field Summary |
---|
Fields inherited from class org.apache.avalon.excalibur.datasource.AbstractJdbcConnection |
---|
m_connection, m_encounteredError, m_lastUsed, m_pool, m_testAge, m_testException, m_testStatement |
Constructor Summary | |
---|---|
Jdbc3Connection(java.sql.Connection connection,
java.lang.String keepAlive)
Deprecated. |
|
Jdbc3Connection(java.sql.Connection connection,
java.lang.String keepAlive,
int keepAliveAge)
Deprecated. |
Method Summary |
---|
Methods inherited from class org.apache.avalon.excalibur.datasource.AbstractJdbcConnection |
---|
clearAllocatedStatements, close, dispose, enableLogging, equals, getConnection, initialize, invoke, isClosed, recycle, registerAllocatedStatement, setPool, setProxiedConnection |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
---|
getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Jdbc3Connection(java.sql.Connection connection, java.lang.String keepAlive)
connection
- a driver specific JDBC connection to be wrapped.keepAlive
- a query which will be used to check the statis of the connection after it
has been idle. A null value will cause the keep alive feature to
be disabled.public Jdbc3Connection(java.sql.Connection connection, java.lang.String keepAlive, int keepAliveAge)
connection
- a driver specific JDBC connection to be wrapped.keepAlive
- a query which will be used to check the statis of the connection after it
has been idle. A null value will cause the keep alive feature to
be disabled.keepAliveAge
- the maximum age in milliseconds since a connection was last
used before it must be pinged using the keepAlive query. Ignored
if keepAlive is null.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |