-----BEGIN PGP SIGNED MESSAGE-----
Philipp von Weitershausen wrote:
> Christian Theune wrote:
>>>> Isn't the global site manager something else then zope.component?
>>> No. The global site manager (we prefer to call it global component
>>> registry nowadays) is defined in zope.component. It is always htere.
>>>> Because zope.component uses the current thread-local site-manager,
>>>> depending on what was set during traversal etc., isn't it?
>>> Nope. zope.component knows nothing about thread-local site managers.
>>> That's zope.app.component (which hooks its knowledge of thread-local
>>> site managers into zope.component).
>> So why does zope.component.getUtility return local utilities then?
> Lol, do I have to write everything twice?
> Last sentence, in the parentheses:
> "zope.app.component hooks its knowledge of thread-local site managers
> into zope.component"
> Basically, look at zope.app.component.hooks, especially setHooks. Unless
> setHooks is actually executed, zope.component knows NOTHING about local
LOL. Man. I have to check my eyes ...
I better re-read that whole thread.
gocept gmbh & co. kg - forsterstraße 29 - 06112 halle/saale - germany
www.gocept.com - [EMAIL PROTECTED] - phone +49 345 122 9889 7 -
fax +49 345 122 9889 1 - zope and plone consulting and development
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v126.96.36.199 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
Zope3-dev mailing list