Return-Path: Delivered-To: apmail-avalon-dev-archive@www.apache.org Received: (qmail 28414 invoked from network); 12 Mar 2004 09:52:21 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 12 Mar 2004 09:52:21 -0000 Received: (qmail 31286 invoked by uid 500); 12 Mar 2004 09:52:15 -0000 Delivered-To: apmail-avalon-dev-archive@avalon.apache.org Received: (qmail 31040 invoked by uid 500); 12 Mar 2004 09:52:14 -0000 Mailing-List: contact dev-help@avalon.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 dev@avalon.apache.org Received: (qmail 31019 invoked from network); 12 Mar 2004 09:52:13 -0000 Received: from unknown (HELO mail.s-und-n.de) (212.8.217.2) by daedalus.apache.org with SMTP; 12 Mar 2004 09:52:13 -0000 Received: from notes.sundn.de (ntsrv5.sundn.de [10.10.2.10]) by mail.s-und-n.de (postfix) with ESMTP id ED4A819F549 for ; Fri, 12 Mar 2004 10:52:15 +0100 (CET) Received: from hw0386 ([10.10.2.54]) by notes.sundn.de (Lotus Domino Release 6.5) with ESMTP id 2004031210463985-103071 ; Fri, 12 Mar 2004 10:46:39 +0100 From: "Carsten Ziegeler" To: "'Avalon Developers List'" Subject: RE: Plans for Constructor/Setter Injection? Date: Fri, 12 Mar 2004 10:54:19 +0100 Organization: S&N AG MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: <40518642.9060102@apache.org> Thread-Index: AcQIFUW0b3qiDgW9QQCpPFtJTjEsiwAAnGYw X-MIMETrack: Itemize by SMTP Server on PBSN1/Systeme und Netzwerke(Release 6.5|September 26, 2003) at 12.03.2004 10:46:40, Serialize by Router on PBSN1/Systeme und Netzwerke(Release 6.5|September 26, 2003) at 12.03.2004 10:46:40, Serialize complete at 12.03.2004 10:46:40 Message-ID: Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="US-ASCII" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Stephen McConnell wrote: > > Carsten Ziegeler wrote: > > Just curious, are there any plans to support constructor and setter > > dependency injection in Avalon? (Or is this already > > possible?) > > It's already possible: > > http://marc.theaimsgroup.com/?l=avalon-dev&m=107908355100216&w=2 > Yes, I read this, but as far as I understood it, this covers only constructor injection of ServiceManager, Configuration etc. I wasn't very precise in my email, but what I meant if it's possible to get a service via Constructor (or a setter), like public ServiceImpl2(AnotherService o) or public void setAnotherService(AnotherService o). Thanks Carsten --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org For additional commands, e-mail: dev-help@avalon.apache.org