Re: [Zope3-Users] [Zope3.0] How to unregister an utility?

2007-06-09 Thread Shailesh Kumar

   from zope.component.globalregistry import getGlobalSiteManager
   gsm = getGlobalSiteManager()
   gsm.unregisterUtility(component=None, provided=None, name=u'')

Would that help?

With regards,
-Shailesh


On 6/9/07, Andreas Jung [EMAIL PROTECTED] wrote:

I have an application where I need to register and unregister a named
utility at runtime. In Zope 3.3 we have zope.component.unregisterUtility().
Is there something available in Zope 3.0 (as still used in Zope 2.8)?

Andreas

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




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


Re: [Zope3-Users] [Zope3.0] How to unregister an utility?

2007-06-09 Thread Shailesh Kumar

May be I am wrong. Didn't read the question properly ! Don't know
about Zope 3.0.

On 6/9/07, Shailesh Kumar [EMAIL PROTECTED] wrote:

   from zope.component.globalregistry import getGlobalSiteManager
   gsm = getGlobalSiteManager()
   gsm.unregisterUtility(component=None, provided=None, name=u'')

Would that help?

With regards,
-Shailesh


On 6/9/07, Andreas Jung [EMAIL PROTECTED] wrote:
 I have an application where I need to register and unregister a named
 utility at runtime. In Zope 3.3 we have zope.component.unregisterUtility().
 Is there something available in Zope 3.0 (as still used in Zope 2.8)?

 Andreas

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





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