org.apache.avalon.excalibur.datasource
Interface ProxiedJdbcConnection

All Superinterfaces:
java.lang.reflect.InvocationHandler
All Known Implementing Classes:
AbstractJdbcConnection

public interface ProxiedJdbcConnection
extends java.lang.reflect.InvocationHandler

A JDBC connection that has a proxy around it in order to dynamically implement JDBC2/3 needs to get a handle to its proxied self so that the proxied version can be returned to the pool.

Author:
Avalon Development Team

Method Summary
 java.sql.Connection getConnection()
           
 void setProxiedConnection(java.lang.Object proxy)
           
 
Methods inherited from interface java.lang.reflect.InvocationHandler
invoke
 

Method Detail

setProxiedConnection

public void setProxiedConnection(java.lang.Object proxy)

getConnection

public java.sql.Connection getConnection()


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.