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?

_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users

Reply via email to