Re: [picocontainer-dev] Multi Injection

Paul Hammant <[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
Well the next thing is to make the setters optional for the multi  
type .... people are using this mechanism for optional params.  CDI  
args are mandatory, and SDI args are optional I mean.

I agree that we should not recommend it, but it is used as a model.

- Paul

On Aug 17, 2007, at 8:56 AM, Mauro Talevi wrote:

> Paul Hammant wrote:
>> So committed last night was a Injection/Injector pair that allows  
>> for Constructor and Setter injection in a component.  Not to be  
>> recommended of course.
>
> What is the usecase for it?  Can't image OTOH why one would choose  
> mixed mode.
>
>> What to name it ?
>>   CombiInjection
>>   MultiInjection
>>   ConstuctorAndSetterInjection
>
> ConstuctorAndSetterInjection - does what it says on the tin :-)
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>    http://xircles.codehaus.org/manage_email
>


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.