component.provideUtility for a global utility.
See zope.component.interfaces.IComponentRegistrationConvenience
Or for local utilities registered in a site manager you use the site
manager :
sm.registerUtility
sm.unregisterUtility
See zope.component.interfaces.IComponentRegistry
Jürgen
Florian Lindner wrote:
Hello,
easy question but I just don't finde the approbiate function. How to register
and unregister programmatically an utility?
Thanks,
Florian
_______________________________________________
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users