Re: [picocontainer-dev] Tandem Charge ( parameter refactoring )

Konstantin Priblouda <kpriblouda-/[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Message-ID <[email protected]>
--- Paul Hammant <[email protected]> wrote:

> Konstantin,
> 
> You know my feelings on re-factoring w/o unit tests
> passing dude :)
>
I'm not yet ready with it ;)  I try to apply
aggregation
( and somehow it's not tandem charge anymore - but
3-stage ICBM ;) ) 

Basic idea is to split parameter handling in 3 parts:
Lookup ( produces collection of adapter, by key, by
class, or use names etc. ) 
Extraction ( scalar, constant, collection ) 
and 
Conversion ( though also kind of extraction to be
applied on by-key resolution strategy ) 

Everything can be even hidden behind slightly
simplified  Parameter interface. 

regards,

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


      ____________________________________________________________________________________
Be a better sports nut!  Let your teams follow you 
with Yahoo Mobile. Try it now.  http://mobile.yahoo.com/sports;_ylt=At9_qDKvtAbMuh1G1SQtBI7ntAcJ

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