Return-Path: Delivered-To: apmail-jakarta-avalon-dev-archive@jakarta.apache.org Received: (qmail 38499 invoked by uid 500); 19 Sep 2001 12:49:56 -0000 Mailing-List: contact avalon-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Avalon Development" Delivered-To: mailing list avalon-dev@jakarta.apache.org Received: (qmail 38478 invoked from network); 19 Sep 2001 12:49:56 -0000 X-Internal-ID: 3BA8905C0000012A Date: Wed, 19 Sep 2001 14:49:26 +0200 From: Jeremias Maerki To: "Avalon Development" Subject: Re: Difference between Configurable and Parameterizable Organization: Outline AG, Switzerland In-Reply-To: <3BA891BA.B203189B@apache.org> References: <20010919101723.2C5C.JEREMIAS.MAERKI@outline.ch> <3BA891BA.B203189B@apache.org> Message-Id: <20010919144451.2C65.JEREMIAS.MAERKI@outline.ch> MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Becky! ver. 2.00.03 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Thank you, Berin. So, the two interfaces are just two different ways of configuring an Avalon-aware object. One can live without the other. On Wed, 19 Sep 2001 08:38:18 -0400 Berin Loritsch wrote: > Jeremias Maerki wrote: > >=20 > > Hi there > >=20 > > After looking through the documentation and the mailing list archives I > > still don't know why there are two interfaces Configurable and > > Parameterizable. I've seen some mails from April when Parameterizable > > was introduced, but that didn't help. Also, the API docs simply state > > that the two interfaces are incompatible. I currently believe > > Parameterizable isn't needed, because I can do all > > configuration/parameterization I need using Configurable. >=20 > True. The difference is when all you need is a flat configuration scheme > as opposed to a hierarchical one. >=20 > Parameters is much like Properties with the exception of type safety buil= t > in. It is a flat configuration scheme--easily derived from a heirarchica= l > one. >=20 > Configuration is for when your Configuration elements need to be expresse= d > in a more rich manner. It allows you to group sub configurations togethe= r > very easily. >=20 >=20 > As far as the overall weight of the objects, the Parameters object is lig= hter > than the Configuration object. Cheers, Jeremias M=E4rki mailto:jeremias.maerki@outline.ch OUTLINE AG Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern Fon +41 (41) 317 2020 - Fax +41 (41) 317 2029 Internet http://www.outline.ch --------------------------------------------------------------------- To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: avalon-dev-help@jakarta.apache.org