[Zope3-checkins] CVS: Zope3/lib/python/Zope - configure.zcml:1.9

Gary Poster gary@modernsongs.com
Mon, 21 Oct 2002 02:15:16 -0400


Update of /cvs-repository/Zope3/lib/python/Zope
In directory cvs.zope.org:/tmp/cvs-serv13005/Zope

Modified Files:
	configure.zcml 
Log Message:
sorry for the huge honking checkin.

Adds a simple local objecthub implementation and made ObjectHub a service

Modifies the main objecthub as we have been discussing:
 * objecthub attribute is hubid, not hid (sorry Jim, I'll change it back if you want but there were a lot of "yay"s and no "nay"s :-)
 * no more IObjectAddedHubEvent
 * IObjectRemovedEvent now (hopefully) actually has the effect on the ObjectHub that is described in the interface, and that we agreed upon, namely (assuming removed object was cataloged in objecthub) removing catalog of object in objecthub and sending out an IObjectRemovedHubEvent, subclass of IObjectUnregisteredHubEvent, to the ObjectHub subscribers

I tried to spruce up the LocalEventService a bit but the code still looks as opaque as ever, I'm afraid.  Among other small improvements, though, at least you actually can see the silly "user interface" now without a traceback.  Now for a *real* user interface sometime. :-)

Fixed a few typos while I was at it as well...and I'm sure made my share of new ones :-)




=== Zope3/lib/python/Zope/configure.zcml 1.8 => 1.9 ===
--- Zope3/lib/python/Zope/configure.zcml:1.8	Fri Oct  4 13:39:05 2002
+++ Zope3/lib/python/Zope/configure.zcml	Mon Oct 21 02:14:45 2002
@@ -55,6 +55,7 @@
 <include package=".App" />
 <include package=".I18n" />
 <include package=".Publisher" />
+<include package=".ObjectHub" />
 <include package=".StartUp" />