You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Anton Tagunov <at...@list.ru> on 2004/02/09 13:04:31 UTC
Re[2]: MutableConfiguration -- interface and semantics
Hi, Leo!
AT> Three more issues.
LSU> can we move *all* your issues to a future proposal?
LSU> I've been trying for *two weeks* to get this proposal through, and
LSU> I'm not really up for extending it.
Two weeks is plainly horrible.
Still got a gut feeling ...
with DefaultConfiguration we did
DefaultConfiguration parent = new DefaultConfiguration( ... );
DefaultConfiguration child = new DefaultConfiguration( "child" );
parent.addChild( child );
see the catch?
We need a *factory method* somewhere.
Anton
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org
RE: Re[2]: MutableConfiguration -- interface and semantics
Posted by Leo Sutic <le...@inspireinfrastructure.com>.
> From: Anton Tagunov [mailto:atagunov@list.ru]
>
> Hi, Leo!
>
> AT> Three more issues.
> LSU> can we move *all* your issues to a future proposal?
> LSU> I've been trying for *two weeks* to get this proposal
> through, and
> LSU> I'm not really up for extending it.
>
> Two weeks is plainly horrible.
>
> Still got a gut feeling ...
>
> with DefaultConfiguration we did
>
> DefaultConfiguration parent = new DefaultConfiguration( ... );
> DefaultConfiguration child = new DefaultConfiguration( "child" );
> parent.addChild( child );
>
> see the catch?
>
> We need a *factory method* somewhere.
The MutableConfiguration interface has a getMutableChild method that
works
just like the getChild() method, except it will create *and add* a child
node.
/LS
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org