[Zope3-Users] Re: some basic questions about utility

Philipp von Weitershausen philipp at weitershausen.de
Sun Nov 5 09:10:14 EST 2006


Shailesh Kumar wrote:
> Suppose I have registered a utility using ZCML directive in my web 
> application.
> 
> Is the utility created the moment zope starts up, during the parsing of 
> my app's ZCML? Can I think of it as a singleton instance?

Yes.

> Can I do some application specific startups like running some background 
> threads for some tasks in the __init__ of my utility?

I suppose so, but why do you need this to happen in threads?



More information about the Zope3-users mailing list