[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/services - configuration.py:1.17

Guido van Rossum guido@python.org
Thu, 19 Jun 2003 17:56:16 -0400


Update of /cvs-repository/Zope3/src/zope/app/interfaces/services
In directory cvs.zope.org:/tmp/cvs-serv17984/zope/app/interfaces/services

Modified Files:
	configuration.py 
Log Message:
Add a simple string attribute (typically a class variable)
'serviceType' to the IConfiguration interface, so that the bundle code
can legally get at this information, which it needs to call that
service's queryConfigurationsFor() method.  Remove this info from the
ConfigurationStatusProperty class and constructor signature; this
class now gets this info from its configuration argument.



=== Zope3/src/zope/app/interfaces/services/configuration.py 1.16 => 1.17 ===
--- Zope3/src/zope/app/interfaces/services/configuration.py:1.16	Wed Jun 18 16:12:10 2003
+++ Zope3/src/zope/app/interfaces/services/configuration.py	Thu Jun 19 17:55:45 2003
@@ -63,6 +63,10 @@
     interface.
     """
 
+    serviceType = Attribute("service type that manages "
+                            "this configuration type")
+    # A string; typically a class attribute
+
     status = ConfigurationStatus(title = u"Registration status")
 
     def activated():