On Wed, Dec 30, 2009 at 4:57 PM, Alex Shneyderman <[email protected]> wrote: > We are talking of 2 ways to create a transient with TBuilder using newInstance > and prototype. Prototype allows for init values. With TBF you can only do > newInstance, which seems like a shortcut for the > TransientBuilder.newinstance().
Well, IIRC, the implementation makes some shortcuts in the tbf.newInstance() (or was that only for one or the other composite meta types?) since it knows there will be no setting of internal state. > But the shortcut for the prototype is missing. Suggested enhancement to TBF > would allow for both ways of creation of transients on the TBF itself. And the follow-up would be; What about the private mixins? I'm seriously curious. Cheers -- Niclas Hedhman, Software Developer http://www.qi4j.org - New Energy for Java I live here; http://tinyurl.com/2qq9er I work here; http://tinyurl.com/2ymelc I relax here; http://tinyurl.com/2cgsug _______________________________________________ qi4j-dev mailing list [email protected] http://lists.ops4j.org/mailman/listinfo/qi4j-dev

