[Zope-Checkins] CVS: Zope3/lib/python/Zope/ComponentArchitecture - Service.py:1.1.6.2

Kapil k_vertigo@yahoo.com
Fri, 8 Feb 2002 15:23:36 -0500


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

Modified Files:
      Tag: Zope-3x-branch
	Service.py 
Log Message:
assert IServiceService interface in CA ServiceManager



=== Zope3/lib/python/Zope/ComponentArchitecture/Service.py 1.1.6.1 => 1.1.6.2 ===
 
 from Zope.Exceptions import DuplicationError, NotFoundError
+from IServiceService import IServiceService
+
 
 class UndefinedService(Exception):
     """An attempt to register a service that has not been defined
@@ -27,6 +29,8 @@
     
 class ServiceManager:
     """service manager"""
+
+    __implements__ = IServiceService
 
     def __init__(self):
         self.__defs     = {}