Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 42474 invoked from network); 18 Sep 2005 18:31:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 18 Sep 2005 18:31:13 -0000 Received: (qmail 29555 invoked by uid 500); 18 Sep 2005 18:31:12 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 28847 invoked by uid 500); 18 Sep 2005 18:31:10 -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 Delivered-To: moderator for dev@geronimo.apache.org Received: (qmail 80114 invoked by uid 99); 18 Sep 2005 17:13:15 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=RCVD_BY_IP,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of ammulder@gmail.com designates 64.233.162.197 as permitted sender) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=V3IFEceU2j6Fg1g5gSg4i9bI623sLvmGabQ6LCplXTT/mzyF01p/KqPQgPZ12qaKhacphNO8n4bKr3yRc8o8CqtmpsUqtGn9U9a5QAoweDVYB1P6VmZH1buhDqMEd/r5SBOU0ny/7jiBnKnFLOAujOMtIJadzQz0DXz5gFO3lo8= Message-ID: <74e15baa05091810132c5b5106@mail.gmail.com> Date: Sun, 18 Sep 2005 13:13:12 -0400 From: Aaron Mulder Reply-To: Aaron Mulder Sender: ammulder@gmail.com To: dev@geronimo.apache.org Subject: Re: Multi-parent classloaders In-Reply-To: <74e15baa050917210133c8810c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <74e15baa050917210133c8810c@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 9/18/05, Aaron Mulder wrote: > So with the new multi-parent class loader support, what's the > difference between parentId, import, include, and dependency? David J's response follows. I think we ought to get this information into the schema docs. -- Aaron 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.=20 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. =20 Include and dependency both relate to items in the repository and add them to the URL[] of the current configurations classloader.=20 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. -- David J