Joachim König wrote: [snip] > To me the fact that an object "is" a singleton or a factory is > orthogonal to the registry stuff. > > Why can't utilities be factories too that simply return themselves when > being called? Then being > a singleton or not would be in the responsibility of the registered > object (class, factory, singleton) > and the ZCA would not need to know. > > What am I missing (except bbb)?
I don't think you're missing anything. It's just that others have a different perspective on this than you and me. Regards, Martijn _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )