Return-Path: Delivered-To: apmail-jakarta-avalon-dev-archive@apache.org Received: (qmail 28667 invoked from network); 17 Jun 2002 08:57:50 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 17 Jun 2002 08:57:50 -0000 Received: (qmail 16324 invoked by uid 97); 17 Jun 2002 08:57:52 -0000 Delivered-To: qmlist-jakarta-archive-avalon-dev@jakarta.apache.org Received: (qmail 16269 invoked by uid 97); 17 Jun 2002 08:57:51 -0000 Mailing-List: contact avalon-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon Developers List" Reply-To: "Avalon Developers List" Delivered-To: mailing list avalon-dev@jakarta.apache.org Received: (qmail 16253 invoked by uid 98); 17 Jun 2002 08:57:51 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Subject: Re: [A5] Parameters Package From: Leo Simons To: Avalon Developers List In-Reply-To: <3D0CDE47.C0AA637A@apache.org> References: <000601c21482$72e6fd80$ac00a8c0@Gabriel> <3D0B66D9.5060208@apache.org> <3D0CDE47.C0AA637A@apache.org> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 17 Jun 2002 10:57:29 +0200 Message-Id: <1024304249.1855.6.camel@test.multimia.multimia.com> Mime-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N > Question: what is the difference supposed to be between Parameters and > Configurations? Configuration is hierarchical, parameters is a simple string-based map that can contain only strings. I basically added the parameters stuff because it easier to use. > Last time I was subscribed to this list, we had configurations and they > were immutable. > > So, my wild guess would be that you needed something mutable and added > parameters. nope. Anything passed to a component during initialization should be immutable. A component cannot modify its own parameters, context, configuration. That's subversion of control. > But then, this is overlapping with a Context. > > I have the impression that before trying to patch such abstract API we > should agree on *WHAT THE HELL THEY ARE SUPPOSED TO DO FOR YOU*. > > Do I make any sense? your thoughts are valid, but I think we already know what parameters is: 1-d string based lookup of strings, which is very convenient and simple. - Leo -- To unsubscribe, e-mail: For additional commands, e-mail: