[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/ComponentArchitecture - IServiceManagerContainer.py:1.2
Jim Fulton
jim@zope.com
Fri, 4 Oct 2002 13:41:12 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/ComponentArchitecture
In directory cvs.zope.org:/tmp/cvs-serv13442
Modified Files:
IServiceManagerContainer.py
Log Message:
Added aliases to the read and write interfaces to make references in
zcml fit on one line. :/
=== Zope3/lib/python/Zope/App/ComponentArchitecture/IServiceManagerContainer.py 1.1 => 1.2 ===
--- Zope3/lib/python/Zope/App/ComponentArchitecture/IServiceManagerContainer.py:1.1 Thu Aug 1 14:42:09 2002
+++ Zope3/lib/python/Zope/App/ComponentArchitecture/IServiceManagerContainer.py Fri Oct 4 13:41:12 2002
@@ -35,10 +35,14 @@
def hasServiceManager():
"""Query to find out if the component defines a service manager."""
+Read = IReadServiceManagerContainer
+
class IWriteServiceManagerContainer(Interface):
def setServiceManager(sm):
"""Sets the service manager for this object."""
+
+Write = IWriteServiceManagerContainer
class IServiceManagerContainer(IReadServiceManagerContainer,
IWriteServiceManagerContainer):