Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 94486 invoked from network); 10 Oct 2007 09:45:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Oct 2007 09:45:01 -0000 Received: (qmail 64030 invoked by uid 500); 10 Oct 2007 09:44:49 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 63806 invoked by uid 500); 10 Oct 2007 09:44:48 -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 63795 invoked by uid 99); 10 Oct 2007 09:44:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 02:44:48 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 66.249.82.239 as permitted sender) Received: from [66.249.82.239] (HELO wx-out-0506.google.com) (66.249.82.239) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Oct 2007 09:44:49 +0000 Received: by wx-out-0506.google.com with SMTP id s8so141623wxc for ; Wed, 10 Oct 2007 02:44:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=yV9Jwh2ydK/oYrAiSo9ytaJOmM9cHB6sMIp0EgfEijw=; b=aOVbCrzRmyuk/Rlj0IA4KyYK5bqV6pUklAiq/23NFuh4DbPcDtQvF3XxHShZHobeuw4AlzQINUzg19IRU5VSDCyzj0OQEoz4RX4DM6uUxXlz4z8kc8OzVAufXQj0RN+q2iQewbhN/TRdZZefrfFr12g0GAdA4rpLNvn3dwsM8X8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tT/Pv2VERY9TpZQLwbNSkRd3++IA/CuE7BOY8xq2oTlDMtHLt87od7a4OEnA/h6k8Udv1Jew2aZ/QdDZIRhAoMbm/QogKe4rwrcnX7ldLbc5Rkb8CyNB7VTMNFD8VsbLZ56FQSSDNmNUtXQmXQfYQjMlGe3rXSHp4NxUFwRYg1M= Received: by 10.90.118.12 with SMTP id q12mr853376agc.1192009468624; Wed, 10 Oct 2007 02:44:28 -0700 (PDT) Received: by 10.90.31.5 with HTTP; Wed, 10 Oct 2007 02:44:28 -0700 (PDT) Message-ID: Date: Wed, 10 Oct 2007 11:44:28 +0200 From: "Emmanuel Lecharny" Reply-To: elecharny@iktek.com To: "Apache Directory Developers List" Subject: Re: [ApacheDS] Configuration of protocols In-Reply-To: <6E568B8C-339D-4D5D-9720-9DA7E2E80D5D@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <6E568B8C-339D-4D5D-9720-9DA7E2E80D5D@yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org Hi guys, I would be very interested (and the users too) to get some page on our wiki explaining how to add a new interceptor in the current chain, using xbeans. I'm trying to figure out how to have the ChangeLog interceptor configured and used by the server, but I must admit I don't have a clue. Of course, it's not really urgent, but I think we need it before we move to Phase II Thanks a lot ! On 10/10/07, David Jencks wrote: > In rev 583375 I moved all the non-ldap protocol servers into independent > components and provided 2 NTP implementations as a basis for further > discussion. > > NtpConfiguration illustrates the approach of a single component to config= ure > both udp and tcp versions of the same protocol. This could trivially be > enhanced with flags to enable/disable the tcp or udp choices. If we deci= de > on this approach I would rename the class NtpServer. > > server.xml configuration of this looks like: > > > #apacheDS > > > > AbstractNtpServer, TcpNtpServer, and UdpNtpServer illustrate the approach= of > a component per protocol version. server.xml configuration of this looks > like: > > > #apacheDS > > > #apacheDS > > > > I don't have a strong preference between these two approaches and think t= hey > both are equally good components. I think the first, single component > managing both servers, will be easier for our users to understand and > configure, although it might be conceptually slightly less pure. > > Whatever the outcome of this discussion I think the next step, other than > conforming the protocol servers to whatever we decide, is to move the min= a > setup code in ApacheDS into a separate component: this would replace the > ApacheDS reference in all these servers. > > thanks > david jencks > > > On Oct 9, 2007, at 2:25 PM, Alex Karasulu wrote: > On 10/9/07, David Jencks wrote: > > NTP is pretty darn simple and I'm going to code up a couple of > > examples using it so we can better see what we are talking about. > > NTP is simple and one of the reasons why I picked it for the example. Al= so > as you > say it can be used for a simple experiment to see the impact of what we w= ant > to do > without a massive investment in time. > > On the other hand although NTP is the easiest to understand the same > reasoning may not > apply to the other protocols. Enrique understands these best so he might > have something to share > about it. Knowing that he's not on IRC I made sure he got wind of it by > posting it here. > > > There's an extreme danger here of making a mountain out of a > > molehill :-) > > Well the plan was simple: get rid of the configuration beans and directly > wire up the components. > As I said this was your idea and a damn good one. I just don't want > configuration beans floating > around with one exception here and one exception there. > > Let's set a standard pattern to follow and stick to it. > > Alex > > > --=20 Regards, Cordialement, Emmanuel L=E9charny www.iktek.com