Re: Proposal for component parameters handling in XML

Konstantin Priblouda <kpriblouda-/[email protected]> Fri, 6 Feb 2004 02:28:59 -0800 (PST)
Newsgroups gmane.comp.java.nanocontainer.devel
Message-ID <[email protected]>
--- Jon Tirsen <[email protected]> wrote:
> Konstantin Priblouda wrote:
> 
> >--- Jon Tirsén <jon_tirsen-/[email protected]> wrote:
> >  
> >
> >>Nah, remove the type information from both
> parameter
> >>and dependency. They are provided by the
> reflection
> >>API so there's no need to specify them in two
> >>places.
> >>In fact, it could even cause problems.
> >>    
> >>
> >
> >Parameter is constant parameter. Which is not only
> >string - ConstantParameter needs object, and you
> need
> >to 
> >know what class you are instantiating....
> >  
> >
> 
> Yup, and you know that by reflecting on the class of
> the component. 
> Hmm... could be a bit complicated to implement, I
> see...

Piece of cake. Just feed DOM element to XStream and
take what comes out :) 

>

Enuff said. Look into NANO-37 - I uploaded the stuff. 
( works & rocks, thoug may need improvement in
classloading or confuguration ) 

regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verstärkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] für die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html