On Mon, Mar 16, 2009 at 1:33 PM, Rickard Öberg <[email protected]> wrote: > but the question remains whether each injection point > in a graph gets its own instance, or whether they share, within the same > instantiation call.
I think this is the more common case, but that it is not out of the question to have new instances as well. And as discussed off-list just now, your suggestion with passing in an ObjectBuilder/CompositeBuilder that is handed down the graph from the top, one can easily provide for "new instance" if needed. I think a bigger example would show how good/bad this would end up in reality, and final opinion is to be formed from experimentation... ;-) Cheers Niclas -- http://www.qi4j.org - New Energy for Java _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

