[Zope3-checkins] CVS: Zope3/src/zope/app/utilities - __init__.py:1.1

Sidnei da Silva sidnei at x3ng.com.br
Wed Aug 6 18:16:49 EDT 2003


Update of /cvs-repository/Zope3/src/zope/app/utilities
In directory cvs.zope.org:/tmp/cvs-serv20548/src/zope/app/utilities

Added Files:
	__init__.py 
Log Message:
Finally got my own mini-geddon.

Changes:

 - Spiced up a bit the Utility service getRegisteredMatching to allow querying by interface and name.
 - Added getUtilitiesFor(interface) to the utility service, to allow querying for a list of utilities that provide an interface.
 - Made the local and global interface services delegate to the utility service when querying for available interfaces. This is done by querying for utilities that provide IInterface. In the future (read: later this week) this will allow us to have persistent interfaces registered as local utilities, a.k.a. TTW Schema.
 - Added tests for all of this, and run the test suite twice to make sure :)



=== Added File Zope3/src/zope/app/utilities/__init__.py ===
# import this




More information about the Zope3-Checkins mailing list