[picocontainer-dev] Syntax (change|improvement) proposal

Konstantin Priblouda <kpriblouda-/[email protected]> Tue, 5 Aug 2008 05:36:49 -0700 (PDT)
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
Hi all, 

I think it would be way nicer to write (and read) :

pico.addComponentAdapter(cache(construct()))

than:
p.addComponentAdapter(new CCA(new CICA(...)))

and it  would take only some static method imports

WDYT? 



----[ Konstantin Pribluda http://www.pribluda.de ]----------------
JTec quality components: http://www.pribluda.de/projects/


      

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

    http://xircles.codehaus.org/manage_email