Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 4615 invoked from network); 3 Feb 2011 21:28:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Feb 2011 21:28:19 -0000 Received: (qmail 43669 invoked by uid 500); 3 Feb 2011 21:28:19 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 43629 invoked by uid 500); 3 Feb 2011 21:28:18 -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 43621 invoked by uid 99); 3 Feb 2011 21:28:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 21:28:18 +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 (nike.apache.org: domain of akarasulu@gmail.com designates 74.125.82.44 as permitted sender) Received: from [74.125.82.44] (HELO mail-ww0-f44.google.com) (74.125.82.44) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Feb 2011 21:28:10 +0000 Received: by wwa36 with SMTP id 36so1678835wwa.1 for ; Thu, 03 Feb 2011 13:27:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=v3bcAcwqK5112Bheap1QfZNDGO2J//QwjgMLg0rjNUs=; b=spzibqsJsLbb/kSe+4nUdB0pW6OJKUKnx1HMgLmmntnJMBiaNYwtABxymj3ss/5qS9 POW9tcmnucrIM/lCu2u1QmU775lNLbgTDdeq4nG7qlIY6gzTbkahOg0enz7FDU1PjQNz Ll0sVSvYmtSGTGuxEM2NgNK7O6NyzeZZx/eQ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; b=fY+IJKzehWgwHc2Xf+xhQRDWRKkWH/zlyaz0DEs2KcGWSJ1sFZ1xeAZNY7KWnk0tiT SKdfzFEfNXh3khP0Yz1lA+cImZ7loBHqGh2/gUhdIuwf0NE9/lcUYcitQDG6IgqgcLUl jYzuWWHbvd2JIzXfC36Esd4PoboYyRL3tu++o= MIME-Version: 1.0 Received: by 10.216.46.193 with SMTP id r43mr3690602web.20.1296768470066; Thu, 03 Feb 2011 13:27:50 -0800 (PST) Sender: akarasulu@gmail.com Received: by 10.216.51.15 with HTTP; Thu, 3 Feb 2011 13:27:50 -0800 (PST) In-Reply-To: References: <4D4A5AE3.5090807@gmail.com> <4D4B15A5.9040009@apache.org> Date: Thu, 3 Feb 2011 23:27:50 +0200 X-Google-Sender-Auth: kzrIW7txOxYzuxeNv40L51aqjZE Message-ID: Subject: Re: Control package changes From: Alex Karasulu To: Apache Directory Developers List Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Hope you don't mind, thought this might help others on the dev list. On Thu, Feb 3, 2011 at 11:16 PM, Alex Karasulu wrote= : > On Thu, Feb 3, 2011 at 10:52 PM, Emmanuel L=E9charny wrote: >> On 2/3/11 9:39 PM, Alex Karasulu wrote: >>> >>> On Thu, Feb 3, 2011 at 5:37 PM, Alex Karasulu >>> =A0wrote: >>>> >>>> Here's what I was going to do last night before my collapse: >>>> Create new packages for extra controls, the 2nd class of optional >>>> controls of which we have the following for replication and ppolicy: >>>> >>>> PasswordPolicy >>>> SyncDoneValue >>>> SyncInfoValue >>>> SyncModifyDn >>>> SyncRequestValue >>>> SyncStateValue >>>> >>>> The package base for all these optional (Class II extensions) will sta= rt >>>> off at: >>>> >>>> =A0 =A0 org.apache.directory.shared.ldap.extras >>>> >>>> As y'all know we have extension (Control and Exteded Op) >>>> sub-interfaces and implementation POJOs these will be here: >>>> >>>> [PUBLIC PACKAGES] >>>> org.apache.directory.shared.ldap.extras.controls >>>> org.apache.directory.shared.ldap.extras.extended >>>> >>>> We will have an ldap-extras bundle that will export these packages. >>>> For now since we do not have so many controls and extended operations >>>> I did not break these apart into different packages. All controls and >>>> extended operations for now will go into these packages. >>>> >>>> The implementations for these extensions >>>> (decorators,grammars,factories etc) will go into these packages but >>>> unlike the one pkg for all pattern we can break it apart into >>>> sub-packages in this implementation area: >>>> >>>> Bases: >>>> [PRIVATE PACKAGES] >>>> org.apache.directory.shared.ldap.extras.controls.impl >>>> org.apache.directory.shared.ldap.extras.extended.impl >>>> >>>> Subpackages: >>>> [PRIVATE PACKAGES] >>>> org.apache.directory.shared.ldap.extras.controls.impl.ppolicy >>>> org.apache.directory.shared.ldap.extras.controls.impl.syncInfoValue >>>> org.apache.directory.shared.ldap.extras.controls.impl.syncDoneValue >>>> org.apache.directory.shared.ldap.extras.controls.impl.syncRequestValue >>>> org.apache.directory.shared.ldap.extras.controls.impl.syncStateValue >>>> org.apache.directory.shared.ldap.extras.controls.impl.syncModifyDn >>> >>> Slight modification in practice here. I used the following for ppolicy >>> and will do the same for the replication controls: >>> >>> org.apache.directory.shared.ldap.extras.controls.ppolicy_impl >> >> hmmm, why this extra _impl ? >> >> Let's take an example : ppolicy >> >> In model, we have a PPolicy interface and a PPolicyImpl implementation. >> >> Where will we store the interface, and where will we find the implementa= tion >> ? >> >> org.apache.directory.shared.ldap.extras.controls/PPolicy.java >> >> and >> >> org.apache.directory.shared.ldap.extras.controls.impl/PPolicyImpl.java >> >> ? > > The _impl areas are not referring to the simple POJO implementations > of interfaces. This package is for the control's codec extension > implementations. In the bundle descriptor we're going to hide this > component's implementation. > > Best, > Alex >