[Zope3-dev] Re: best practices for registry-like functionality
Stephan Richter
srichter at cosmos.phy.tufts.edu
Fri Apr 9 05:51:29 EDT 2004
On Thursday 08 April 2004 17:57, Garrett Smith wrote:
> >> - Get a list of all registered vocab objects
>
> Is there a way to enumerate registered utilities that provide a
> particular interface?
The best one to use is zapi.getUtilitiesFor(context, interface). It is
available exactely for this purpose.
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-dev
mailing list