Return-Path: Delivered-To: apmail-commons-dev-archive@www.apache.org Received: (qmail 35661 invoked from network); 21 Sep 2010 14:19:28 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Sep 2010 14:19:28 -0000 Received: (qmail 98717 invoked by uid 500); 21 Sep 2010 14:19:27 -0000 Delivered-To: apmail-commons-dev-archive@commons.apache.org Received: (qmail 97974 invoked by uid 500); 21 Sep 2010 14:19:23 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 97966 invoked by uid 99); 21 Sep 2010 14:19:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 14:19:22 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gudnabrsam@gmail.com designates 209.85.160.171 as permitted sender) Received: from [209.85.160.171] (HELO mail-gy0-f171.google.com) (209.85.160.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Sep 2010 14:19:14 +0000 Received: by gyg10 with SMTP id 10so1925882gyg.30 for ; Tue, 21 Sep 2010 07:18:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=mv2/wa92jAlPPCjnaPYtxwynKi0dVFCxaQ/ciR6OW3A=; b=vnoZ2AuOaBk4vkoP+ioM96OhOAcGJeIevPl4wlWyPZxj0rSQv6GnZ0eNHrY7c913iM gLwAbNx99cOLpY26DbhAJSMzmGWDPczPKj7wwUoWm12MaQRAxDwCaO5c0HfDXvMO+4BM 9VdBIW84HQPTNi2FE5fvY+qRF4EDbS7YpoRmQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=B+O5YlkYq4llQMqFFVXLxzbhK+Oc51nfzH5N2Nb/ZJmAUx6zAM1PZL2ofMEVrDPlQM EfXmsG8QZYTEFZkOqhppjaiLjB1tKxpj8NOC8hOilhyKhygDdj8RxtIS01kz6wUMXfde KQ/7lXiAVlLXus6kYwItruiHVAW7YZZK4KmPg= Received: by 10.101.175.16 with SMTP id c16mr11102186anp.260.1285078733252; Tue, 21 Sep 2010 07:18:53 -0700 (PDT) Received: from [192.168.1.27] (adsl-068-213-090-227.sip.bhm.bellsouth.net [68.213.90.227]) by mx.google.com with ESMTPS id f22sm14513894anh.24.2010.09.21.07.18.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 21 Sep 2010 07:18:51 -0700 (PDT) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Apple Message framework v1081) Subject: Re: [proxy] suppression of equals/hashCode From: Matt Benson In-Reply-To: Date: Tue, 21 Sep 2010 09:18:47 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <9FA57796-A037-4FF3-8F18-195693987BA0@gmail.com> References: <29E08A68-B784-42FB-95D4-7CE12C293AF8@gmail.com> <6F3F9813-98A2-451F-B663-379E5B46A21F@gmail.com> <1A6A2EE3-90A3-4F51-B336-7CBA7493388B@gmail.com> To: "Commons Developers List" X-Mailer: Apple Mail (2.1081) On Sep 21, 2010, at 2:23 AM, J=F6rg Schaible wrote: > Hi Matt and James, >=20 > Matt Benson wrote: >=20 >>=20 >> On Sep 20, 2010, at 6:11 PM, James Carman wrote: >>=20 >>> On Mon, Sep 20, 2010 at 7:01 PM, Matt Benson >>> wrote: >>>>=20 >>>> This would seem quite complicated to execute, would it not? >>>>=20 >>>=20 >>> What do you propose? >>>=20 >>=20 >> I don't know for sure yet. My initial reaction would have been to = try and >> consolidate the current handling somehow down to = AbstractProxyFactory, >> then control whether proxies used the default behavior with a simple >> boolean property. This would therefore be what it is today: a = detail of >> the existing ProxyFactory implementations. >=20 > the standard invoker in ProxyToys does simply call the methods of the=20= > proxied objects. However, it depends on the actual proxy type, if this=20= > default is replaced with something else (e.g. all delegating proxies = will=20 > handle equal and hashCode differently). >=20 > Bottom line is that it depends on the proxies' purpose, but it is not=20= > configurable. You have to create a new proxy type to overwrite the = proxies'=20 > standard behavior. >=20 I had just had that thought this morning: that in particular, only a = delegating type proxy, an Interceptor proxy in [proxy] speak, would be = subject to the condition James outline where an interceptor proxy and = its target should *not* be considered equal. Thanks for weighing in = here, Joerg... > - J=F6rg >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org