Re: Proposal for component parameters handling in XML

Konstantin Priblouda <kpriblouda-/[email protected]> Thu, 5 Feb 2004 05:12:43 -0800 (PST)
Newsgroups gmane.comp.java.nanocontainer.devel
Message-ID <[email protected]>
--- Jon Tirsén <jon_tirsen-/[email protected]> wrote:
> I'd suggest a different xml-tag-name, like
> "dependency". So you get:
> <component class="">
>   <parameter>...</parameter>
>   <dependency key="..." />
> </component>


For sake of functional completeness, I would say:
<parameter class="class name">whatever</parameter> ->
implies attempt to instantiate constant parameter 
with constructor accepting Strng contained in element
( the way it works now ) 

<dependency class="class name of key
object">whatever</dependency>
implies the same attempt like in parameter,
but will be wrapped in component parameter.


Though, current implementation of key implies that all
component keys are strings...

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