[Zope3-checkins] CVS: Zope3/src/zope/app/services - adapter.py:1.9.2.1 connection.py:1.5.4.1 view.py:1.7.2.1
Guido van Rossum
guido@python.org
Thu, 27 Feb 2003 21:01:42 -0500
Update of /cvs-repository/Zope3/src/zope/app/services
In directory cvs.zope.org:/tmp/cvs-serv9959/src/zope/app/services
Modified Files:
Tag: use-config-branch
adapter.py connection.py view.py
Log Message:
Add ISimpleService to the remaining services' __implements__ clause.
I think I've got them all now.
=== Zope3/src/zope/app/services/adapter.py 1.9 => 1.9.2.1 ===
--- Zope3/src/zope/app/services/adapter.py:1.9 Tue Feb 11 21:17:34 2003
+++ Zope3/src/zope/app/services/adapter.py Thu Feb 27 21:01:41 2003
@@ -31,6 +31,7 @@
from zope.proxy.context import ContextMethod
from zope.app.services.configuration import ConfigurationStatusProperty
from zope.app.component.nextservice import getNextService
+from zope.app.interfaces.services.interfaces import ISimpleService
from zope.app.interfaces.services.interfaces import IAdapterConfiguration
@@ -42,7 +43,7 @@
class AdapterService(Persistent):
- __implements__ = IAdapterService, IConfigurable
+ __implements__ = IAdapterService, IConfigurable, ISimpleService
def __init__(self):
self._byName = PersistentDict()
=== Zope3/src/zope/app/services/connection.py 1.5 => 1.5.4.1 ===
--- Zope3/src/zope/app/services/connection.py:1.5 Thu Jan 23 04:46:30 2003
+++ Zope3/src/zope/app/services/connection.py Thu Feb 27 21:01:41 2003
@@ -23,6 +23,7 @@
from zope.app.services.configuration import NameComponentConfigurable
from zope.app.interfaces.rdb import IConnectionService
from zope.app.interfaces.rdb import IZopeDatabaseAdapter
+from zope.app.interfaces.services.interfaces import ISimpleService
class ILocalConnectionService(IConnectionService, INameComponentConfigurable):
@@ -33,7 +34,7 @@
__doc__ = ILocalConnectionService.__doc__
- __implements__ = ILocalConnectionService
+ __implements__ = ILocalConnectionService, ISimpleService
def getConnection(self, name):
'See IConnectionService'
=== Zope3/src/zope/app/services/view.py 1.7 => 1.7.2.1 ===
--- Zope3/src/zope/app/services/view.py:1.7 Fri Feb 21 09:50:04 2003
+++ Zope3/src/zope/app/services/view.py Thu Feb 27 21:01:41 2003
@@ -44,10 +44,11 @@
from zope.app.interfaces.services.interfaces import IViewConfiguration, IPageConfiguration
from zope.app.services.adapter import PersistentAdapterRegistry
from zope.configuration.exceptions import ConfigurationError
+from zope.app.interfaces.services.interfaces import ISimpleService
class ViewService(Persistent):
- __implements__ = IViewService, IConfigurable
+ __implements__ = IViewService, IConfigurable, ISimpleService
def __init__(self):
self._layers = PersistentDict()