[Zope3-checkins] CVS: Zope3/src/zope/app/component -
service.py:1.1.2.3
Philipp von Weitershausen
philikon at philikon.de
Thu Aug 7 13:15:27 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/component
In directory cvs.zope.org:/tmp/cvs-serv13262
Modified Files:
Tag: zcml-interface-field-branch
service.py
Log Message:
Revert changes in service for now. This shall only be used for tests, not
in zope.app._app
=== Zope3/src/zope/app/component/service.py 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/component/service.py:1.1.2.2 Tue Aug 5 19:10:39 2003
+++ Zope3/src/zope/app/component/service.py Thu Aug 7 12:15:22 2003
@@ -33,31 +33,31 @@
services = {
servicenames.Utilities: (
zope.component.interfaces.IUtilityService,
- utility.utilityService,
+ utility.GlobalUtilityService,
),
servicenames.Adapters: (
zope.component.interfaces.IAdapterService,
- adapter.adapterService,
+ adapter.GlobalAdapterService,
),
servicenames.Factories: (
zope.component.interfaces.IFactoryService,
- factory.factoryService,
+ factory.GlobalFactoryService,
),
servicenames.Skins: (
zope.component.interfaces.ISkinService,
- skin.skinService,
+ skin.GlobalSkinService,
),
servicenames.Views: (
zope.component.interfaces.IViewService,
- view.viewService,
+ view.GlobalViewService,
),
servicenames.Resources: (
zope.component.interfaces.IResourceService,
- resource.resourceService,
+ resource.GlobalResourceService,
),
servicenames.Interfaces: (
zope.app.interfaces.component.IInterfaceService,
- zope.app.component.globalinterfaceservice.interfaceService,
+ zope.app.component.globalinterfaceservice.InterfaceService,
),
}
@@ -89,6 +89,6 @@
for name in names:
i, f = services[name]
sm.defineService(name, i)
- sm.provideService(name, f)
-
+ sm.provideService(name, f())
+
return sm
More information about the Zope3-Checkins
mailing list