Class DataSourceProxy

java.lang.Object
org.apache.tomcat.jdbc.pool.DataSourceProxy
All Implemented Interfaces:
PoolConfiguration
Direct Known Subclasses:
DataSource

public class DataSourceProxy extends Object implements PoolConfiguration
The DataSource proxy lets us implements methods that don't exist in the current compiler JDK but might be methods that are part of a future JDK DataSource interface.
It's a trick to work around compiler issues when implementing interfaces. For example, I could put in Java 6 methods of javax.sql.DataSource here, and compile it with JDK 1.5 and still be able to run under Java 6 without getting NoSuchMethodException.