1 Dec
2009
1 Dec
'09
3:10 p.m.
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