[Zope3-Users] How to list all utilities providing given interface

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Mar 28 10:21:44 EST 2006


On Tuesday 28 March 2006 10:18, Frank Burkhardt wrote:
> how do I get a list of the names of all utilities providing a given
> interface?

zope.component.getUtilitiesFor(IMyIface)

This returns a list of tuples (name, utility)

Regards,
Stephan
-- 
Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training


More information about the Zope3-users mailing list