On Tue, May 13, 2008 at 3:42 PM, Michael Hunger <[EMAIL PROTECTED]> wrote:
> I'd like to convert the current implementation of factories and
>  resolvers from having
>  void addXXX(..., List<XXX> xxx);
>   to a more query based approach. As by now all of the List<XXX> xxx are
>  just created just before the method invocation and then filled it is a
>  much simpler approach and has the additonal beauty of idempotence.

I am not sure I understand what you want to do in detail, but one of
the problems that the current "pass an empty collection" is trying to
solve, is that it is not possible to know the content at construction
time. It is a big mess, but I have also wanted to change Rickard's
approach but can't find another way (with immutable model, resolution
and bindings).


Cheers
Niclas

_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to