[Zope3-checkins] CVS: Zope3/src/zope/app/services - cache.py:1.4.4.1 event.py:1.14.2.2 hub.py:1.4.6.3

Guido van Rossum guido@python.org
Thu, 27 Feb 2003 12:31:04 -0500


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

Modified Files:
      Tag: use-config-branch
	cache.py event.py hub.py 
Log Message:
Add ISimpleService to various local services' __implements__ list.
This is not done; I don't have an efficient way to find all the
classes that implement local services.


=== Zope3/src/zope/app/services/cache.py 1.4 => 1.4.4.1 ===
--- Zope3/src/zope/app/services/cache.py:1.4	Thu Jan 23 04:53:28 2003
+++ Zope3/src/zope/app/services/cache.py	Thu Feb 27 12:31:03 2003
@@ -27,6 +27,7 @@
 from zope.proxy.context import ContextMethod
 from zope.app.interfaces.services.event import IEventChannel
 from zope.app.interfaces.event import IObjectModifiedEvent
+from zope.app.interfaces.services.interfaces import ISimpleService
 
 
 class ILocalCachingService(ICachingService, IEventChannel,
@@ -37,6 +38,7 @@
 class CachingService(ServiceSubscriberEventChannel, NameComponentConfigurable):
 
     __implements__ = (ILocalCachingService,
+                      ISimpleService,
                       ServiceSubscriberEventChannel.__implements__)
 
     _subscribeToServiceInterface = IObjectModifiedEvent


=== Zope3/src/zope/app/services/event.py 1.14.2.1 => 1.14.2.2 ===
--- Zope3/src/zope/app/services/event.py:1.14.2.1	Wed Feb 26 16:43:41 2003
+++ Zope3/src/zope/app/services/event.py	Thu Feb 27 12:31:03 2003
@@ -294,14 +294,14 @@
     iterSubscriptions = ContextMethod(iterSubscriptions)
 
 
-from zope.app.interfaces.services.configuration import IAttributeUseConfigurable
+from zope.app.interfaces.services.interfaces import ISimpleService
 
 class EventService(ServiceSubscriberEventChannel, ServiceSubscribable):
 
     __implements__ = (
         IEventService,
         ISubscriptionService,
-        IAttributeUseConfigurable,
+        ISimpleService,
         ServiceSubscribable.__implements__,
         ServiceSubscriberEventChannel.__implements__
         )


=== Zope3/src/zope/app/services/hub.py 1.4.6.2 => 1.4.6.3 ===
--- Zope3/src/zope/app/services/hub.py:1.4.6.2	Wed Feb 26 17:14:13 2003
+++ Zope3/src/zope/app/services/hub.py	Thu Feb 27 12:31:03 2003
@@ -163,9 +163,6 @@
     else:
         return abs
 
-from zope.app.interfaces.services.configuration import IAttributeUseConfigurable
-from zope.app.interfaces.dependable import IDependable
-
 
 class ObjectHub(ServiceSubscriberEventChannel, ):
 
@@ -177,7 +174,6 @@
     __implements__ = (
         IObjectHub,
         ISimpleService,
-        IAttributeUseConfigurable,
         ServiceSubscriberEventChannel.__implements__)
 
     def __init__(self):