[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/ComponentArchitecture - ClassFactory.py:1.2 configure.zcml:1.3

Jim Fulton jim@zope.com
Sun, 23 Jun 2002 13:04:10 -0400


Update of /cvs-repository/Zope3/lib/python/Zope/App/ComponentArchitecture
In directory cvs.zope.org:/tmp/cvs-serv11667/lib/python/Zope/App/ComponentArchitecture

Modified Files:
	ClassFactory.py configure.zcml 
Log Message:
Finished implementing
http://dev.zope.org/Wikis/DevSite/Projects/ComponentArchitecture/AddMenuProposalAndEndOfZmiNamespace

Updated the service manager to use a menu.

Ripped out the old adder registry code.



=== Zope3/lib/python/Zope/App/ComponentArchitecture/ClassFactory.py 1.1 => 1.2 ===
 # 
 ##############################################################################
-""" ZMI Addable Registration
-
-$Id$
-"""
+"$Id$"
 
 from Zope.ComponentArchitecture.IFactory import IFactory
 
 class ClassFactory:
+    "Class that creates a factory component from a class"
     
     __implements__ = IFactory
 
@@ -29,4 +27,6 @@
         return self._class(*args, **kwargs)
     
     def getInterfaces(self):
-        return getattr(self._class, '__implements__', None)
\ No newline at end of file
+        return getattr(self._class, '__implements__', None)
+
+__doc__ = "%s\n\n%s" % (ClassFactory.__doc__, __doc__)


=== Zope3/lib/python/Zope/App/ComponentArchitecture/configure.zcml 1.2 => 1.3 ===
 
 </zopeConfigure>
+
+