avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: Plans for Constructor/Setter Injection?
Date Fri, 12 Mar 2004 09:54:19 GMT
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) 


public void setAnotherService(AnotherService o).


To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org

View raw message