Class[] implementedInterfaces = connection.getClass().getInterfaces();
Class[] implementedInterfaces = getAllInterfaces(connection.getClass());
	    PooledConnectionHandler(Connection connection, XConnectionManager owner)             throws SQLException        {                        this.connection = connection;            this.owner = owner;                        Class[] implementedInterfaces = connection.getClass().getInterfaces();            proxy = (Connection)Proxy.newProxyInstance(                PooledConnectionHandler.class.getClassLoader(),                implementedInterfaces,                this);		}