RE: [picocontainer-dev] comments on injection

"Putrycz, Erik" <[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
I had implemented that some time ago. Did you  do something to prevent
cycles in the injection? I have not found anything satisfactory so far.
There is no way to find the root getComponent call.

Erik
-----Original Message-----
From: Paul Hammant [mailto:[email protected]] 
Sent: Tuesday, June 12, 2007 8:34 AM
To: dev-qxt/[email protected]
Subject: Re: [picocontainer-dev] comments on injection


> Is it somehow configurable? It might be interesting to use Field  
> Injection only for non-static final fields ;-)

Its only working for those annotated with @Inject.

     http://svn.codehaus.org/picocontainer/java/sandbox/baby-steps/ 
pico2/container/src/java/org/picocontainer/injectors/ 
FieldAnnotationInjector.java

I've not coded anything around final/static but should block those I  
guess.

- Paul

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