Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 85738 invoked from network); 15 Feb 2011 15:01:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Feb 2011 15:01:19 -0000 Received: (qmail 85213 invoked by uid 500); 15 Feb 2011 15:01:19 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 84732 invoked by uid 500); 15 Feb 2011 15:01:16 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 84710 invoked by uid 99); 15 Feb 2011 15:01:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 15:01:15 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 209.85.161.50 as permitted sender) Received: from [209.85.161.50] (HELO mail-fx0-f50.google.com) (209.85.161.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Feb 2011 15:01:09 +0000 Received: by fxm14 with SMTP id 14so279510fxm.37 for ; Tue, 15 Feb 2011 07:00:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:reply-to:user-agent :mime-version:to:subject:content-type:content-transfer-encoding; bh=Lu4O4p65OmZtgdCofRuvkIkqDFWE/lqvFaKJZaj69LQ=; b=vdJJ+W4hFigZtVPyekjLWqPAGIhYqxUfOqlXCXBLfEAXrUdX29+GgaSpLA3Wubu98Z pGYskhuKaeoS0i5kq9+tvB+nx6Hu2XuOYqHmZhL5Ijvz/8miHIaeW5vnPV8xJt8fcxjX E5AelcSp4fA2s5CsZHMD6PC8hSdS30i2Vk+ik= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=H3KlTcBRlWYYqWIFPUCQbWClnWXDQDtSAM24l32IM4Ot17c7w8LdoFIwL19S7t0IBv 5rh+HylqwCSMlQEQ8+vezpBkx0Dkat3FquTPIzkkUyUzxNKUJtDvnVPKTqwpRBSun5Uw M1eJgTeYUg1dtjtkA9JJL3GkJ7wiA9+KW9g1g= Received: by 10.223.86.140 with SMTP id s12mr12024471fal.145.1297782047148; Tue, 15 Feb 2011 07:00:47 -0800 (PST) Received: from emmanuel-lecharnys-MacBook-Pro.local (lon92-10-78-226-4-211.fbx.proxad.net [78.226.4.211]) by mx.google.com with ESMTPS id b7sm1691574faa.18.2011.02.15.07.00.45 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Feb 2011 07:00:46 -0800 (PST) Message-ID: <4D5A951C.4080604@gmail.com> Date: Tue, 15 Feb 2011 16:00:44 +0100 From: Emmanuel Lecharny Reply-To: elecharny@apache.org User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Apache Directory Developers List Subject: Dn class implemented interfaces Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Hi again, going a bit deeper, I'm wondering if the Dn class should implement the Cloneable and Serializable interfaces? Cloneable is probably not needed, as the Dn is immutable, and Serializable is also useless, as we already have a DnSerializer helper class that handles the Dn serialization. Note that we have a DnFactory class in the server which expect the Dn class to be serializable, but this is probably not needed, as we never serialize the associated cache to disk. thoughts ? -- Regards, Cordialement, Emmanuel Lécharny www.iktek.com