[Zope3-checkins] CVS: Zope3/src/zope/app/process - bootstrap.py:1.20 configure.zcml:1.8

Suresh Babu Eddala sbabu at zeomega.com
Fri Mar 5 10:56:04 EST 2004


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

Modified Files:
	bootstrap.py configure.zcml 
Log Message:


CreateInterfaceService is removed.




=== Zope3/src/zope/app/process/bootstrap.py 1.19 => 1.20 ===
--- Zope3/src/zope/app/process/bootstrap.py:1.19	Wed Mar  3 05:38:48 2004
+++ Zope3/src/zope/app/process/bootstrap.py	Fri Mar  5 10:55:33 2004
@@ -32,7 +32,7 @@
 from zope.app.folder import rootFolder
 from zope.app.services.servicenames import HubIds, PrincipalAnnotation
 from zope.app.services.servicenames import EventPublication, EventSubscription
-from zope.app.services.servicenames import ErrorLogging, Interfaces, Utilities
+from zope.app.services.servicenames import ErrorLogging, Utilities
 from zope.app.services.service import ServiceManager
 from zope.app.services.service import ServiceRegistration
 from zope.app.services.hub import ObjectHub, Registration
@@ -40,7 +40,6 @@
 from zope.app.services.error import RootErrorReportingService
 from zope.app.services.utility import LocalUtilityService
 from zope.app.services.principalannotation import PrincipalAnnotationService
-from zope.app.services.interface import LocalInterfaceService
 from zope.app.event import function
 from zope.app.interfaces.services.hub import ISubscriptionControl
 from zope.app.container.interfaces import INameChooser
@@ -204,17 +203,6 @@
                 )
 
 bootstrapInstance = BootstrapInstance()
-
-class CreateInterfaceService(BootstrapSubscriberBase):
-    """A subscriber to the startup event which ensures that a local
-    interface service is available.
-    """
-
-    def doSetup(self):
-        if not self.service_manager.queryLocalService(Interfaces):
-            addConfigureService(self.root_folder, Interfaces, LocalInterfaceService)
-
-createInterfaceService = CreateInterfaceService()
 
 
 def addConfigureService(root_folder, service_type, service_factory, **kw):


=== Zope3/src/zope/app/process/configure.zcml 1.7 => 1.8 ===
--- Zope3/src/zope/app/process/configure.zcml:1.7	Tue Mar  2 13:51:02 2004
+++ Zope3/src/zope/app/process/configure.zcml	Fri Mar  5 10:55:33 2004
@@ -68,9 +68,4 @@
       event_types="zope.app.event.interfaces.IDatabaseOpenedEvent"
       />
 
-  <event:subscribe
-      subscriber=".bootstrap.createInterfaceService"
-      event_types="zope.app.event.interfaces.IDatabaseOpenedEvent"
-      />
-
 </configure>




More information about the Zope3-Checkins mailing list