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

Shailesh Kumar shaileshk at gmail.com
Sat Jun 9 04:49:15 EDT 2007


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

On 6/9/07, Shailesh Kumar <shaileshk at gmail.com> 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 <lists at zopyx.com> 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 at zope.org
> > http://mail.zope.org/mailman/listinfo/zope3-users
> >
> >
> >
>


More information about the Zope3-users mailing list