[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - connection.py:1.4
Guido van Rossum
guido@python.org
Tue, 22 Apr 2003 14:03:26 -0400
Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv6315/zope/app/interfaces/services
Modified Files:
connection.py
Log Message:
Move ILocalConnectionService to the appropriate place in the
zope.app.interfaces package.
=== Zope3/src/zope/app/interfaces/services/connection.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/interfaces/services/connection.py:1.3 Fri Mar 21 16:04:44 2003
+++ Zope3/src/zope/app/interfaces/services/connection.py Tue Apr 22 14:02:55 2003
@@ -18,6 +18,9 @@
from zope.app.services.field import ComponentPath
from zope.app.interfaces.services import configuration
from zope.app.interfaces.rdb import IZopeDatabaseAdapter
+from zope.app.interfaces.rdb import IConnectionService
+from zope.app.interfaces.services.configuration \
+ import INameComponentConfigurable
class IConnectionConfiguration(configuration.INamedComponentConfiguration):
"""Database Connection Configuration
@@ -31,3 +34,7 @@
title=u"Component path",
description=u"The physical path to the component",
required=True)
+
+
+class ILocalConnectionService(IConnectionService, INameComponentConfigurable):
+ """A local (placeful) connection service"""