From dev-return-7393-apmail-geronimo-dev-archive=geronimo.apache.org@geronimo.apache.org Sun May 30 16:56:20 2004 Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 90260 invoked from network); 30 May 2004 16:56:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 30 May 2004 16:56:20 -0000 Received: (qmail 6736 invoked by uid 500); 30 May 2004 16:56:12 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 6671 invoked by uid 500); 30 May 2004 16:56:11 -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 Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 6650 invoked by uid 99); 30 May 2004 16:56:11 -0000 Received: from [209.233.18.245] (HELO public.coredevelopers.net) (209.233.18.245) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 30 May 2004 09:56:11 -0700 Received: from [10.101.105.100] (dain [208.42.65.236]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by public.coredevelopers.net (Postfix on SuSE Linux 8.0 (i386)) with ESMTP id A119144B89 for ; Sun, 30 May 2004 09:55:12 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v618) In-Reply-To: <40BA0F50.2000007@coredevelopers.net> References: <40BA0F50.2000007@coredevelopers.net> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <3D25E895-B25A-11D8-BE72-000393DB559A@coredevelopers.net> Content-Transfer-Encoding: 7bit From: Dain Sundstrom Subject: Re: Dependency without reference Date: Sun, 30 May 2004 11:56:05 -0500 To: dev@geronimo.apache.org X-Mailer: Apple Mail (2.618) X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On May 30, 2004, at 11:44 AM, Jeremy Boynes wrote: > Do we support dependencies on GBeans in sibling configurations? We support references to GBeans in siblings configurations and that results in a dependency. > The problem with declaring a reference is that the class of the target > GBean may not be available, and that there may not be a setted/ctr-arg > for the value. As the subject implies, in that case I would suppose you would want a pure dependency without a reference. Alternatively, you could use a common reference interface in the parent class loader. > Do we support dependencies without a reference? No > Would a reference type of java.lang.Object work? Yes > Will it work without a setter/ctr-arg? No > Of academic interest for now, the GBeans where I thought I might need > this are in a parent/child config relationship. We can add this, but before I tackle this, what is the use case; I don't want to add features without a good use case. -dain