org.apache.avalon.excalibur.datasource
Class Jdbc3Connection

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLogEnabled
        |
        +--org.apache.avalon.excalibur.datasource.AbstractJdbcConnection
              |
              +--org.apache.avalon.excalibur.datasource.Jdbc3Connection
All Implemented Interfaces:
Disposable, InvocationHandler, LogEnabled, Poolable, PoolSettable, ProxiedJdbcConnection, Recyclable

Deprecated. No longer necessary due to the dynamic proxies

public class Jdbc3Connection
extends AbstractJdbcConnection

The Connection object used in conjunction with the JdbcDataSource object.

Since:
4.0
Version:
CVS $Revision: 1.15 $ $Date: 2003/03/05 18:59:00 $
Author:
Berin Loritsch

Field Summary
 
Fields inherited from class org.apache.avalon.excalibur.datasource.AbstractJdbcConnection
m_connection, m_lastUsed, m_pool, m_testException, m_testStatement
 
Constructor Summary
Jdbc3Connection(Connection connection, String keepAlive)
          Deprecated.  
 
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

Jdbc3Connection

public Jdbc3Connection(Connection connection,
                       String keepAlive)
Deprecated. 
Parameters:
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.


Copyright © 2000-2003 Apache Avalon Project. All Rights Reserved.