Re: [picocontainer-dev] annotations and comments on Pico2

Paul Hammant <[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
Konstantin, Erik,

I have the same objections, but I've coded an  
AnnotationInjectionComponentAdapterFactory for Pico2.  It uses @Inject.

Of course its optional, and I recommend not to use it, but its there :-)

I refactored SetterInjectionComponentAdapter to have an overidable  
isInjectorMethod method.

- Paul

On May 19, 2007, at 11:09 AM, Konstantin Priblouda wrote:

>
> --- "Putrycz, Erik" <[email protected]>
> wrote:
>
>> Konstantin, not sure what you mean by
>> "unflexibility". And do you mean
>> you rather would not have any annotations in the
>> container?
>
> I have 2 main objections to use of annotation for
> wiring configuration
>
> 1. they introduce dependency on container ( which is
> kind of uncool )
>
> 2. they are compiled into classes and can not be
> changed afterwards. This can be solved by second
> externalisable configuration system - and what value
> do they have afterwards?
>
> regards,


---------------------------------------------------------------------
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.