[Zope3-Users] Re: register and unregister Utility

Jürgen Kartnaller juergen at kartnaller.at
Wed Dec 27 13:15:42 EST 2006


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



More information about the Zope3-users mailing list