Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 38931 invoked from network); 18 Sep 2005 18:11:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Sep 2005 18:11:03 -0000 Received: (qmail 18659 invoked by uid 500); 18 Sep 2005 18:11:01 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 18586 invoked by uid 500); 18 Sep 2005 18:11:00 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 18573 invoked by uid 99); 18 Sep 2005 18:11:00 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 18 Sep 2005 11:11:00 -0700 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [206.190.49.143] (HELO web54413.mail.yahoo.com) (206.190.49.143) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 18 Sep 2005 11:11:09 -0700 Received: (qmail 15732 invoked by uid 60001); 18 Sep 2005 18:10:56 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=pDTklnoRJ7xNlmgiHtFlT8Bpo7K3eo1mRdfYNqy1AqoXJSy0Mk1tmn1rvuDGEfGIC4BZdNlK9DTeWEKiSzfNtZvRuwYj+nJ3Kd4GeNJ+fitUBIXfkI0kkwftEMm+gt8UBrxoUSf8HO7peSrrp10RWs+Asbwb44UeuM85E081Iag= ; Message-ID: <20050918181056.15730.qmail@web54413.mail.yahoo.com> Received: from [208.54.95.129] by web54413.mail.yahoo.com via HTTP; Sun, 18 Sep 2005 11:10:56 PDT Date: Sun, 18 Sep 2005 11:10:56 -0700 (PDT) From: David Jencks Subject: Re: Multi-parent classloaders To: dev@geronimo.apache.org In-Reply-To: <74e15baa050917210133c8810c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --- Aaron Mulder wrote: > So with the new multi-parent class loader > support, what's the > difference between parentId, import, include, and > dependency? parentId and import both relate to other configurations. A list consisting of parentId followed by any imports is constructed and used as the parent classloaders. The first element of this list is used to get the domain and server for the object names in the configuration. For a configuration without any parentId or imports, you must specify the domain and server explicitly. parentId is theoretically unnecessary but I suggest retaining it for backward compatibility, ease of use when only one parent is needed, and clarity of determining which parent configuration determines the domain and server object name components. Include and dependency both relate to items in the repository and add them to the URL[] of the current configurations classloader. dependency elements use the items in place in the repo, whereas include elements result in the item being copied into the configuration itself. I'm not sure include is tested enough to be reliable. thanks david jencks