[Zope3-checkins] CVS: Zope3/lib/python/Interface/Registry - ITypeRegistry.py:1.2

Jim Fulton jim@zope.com
Thu, 1 Aug 2002 11:39:37 -0400


Update of /cvs-repository/Zope3/lib/python/Interface/Registry
In directory cvs.zope.org:/tmp/cvs-serv6045

Modified Files:
	ITypeRegistry.py 
Log Message:
Added missing getAllForObjects methods and removed unneeded and
unimplemented (for now) method.


=== Zope3/lib/python/Interface/Registry/ITypeRegistry.py 1.1 => 1.2 ===
         require of None.
         
         """
-        
-    def getDefinitions(implements=None):
-        """Get meta-data about registered objects
-
-        Return meta data for all objects registered with a require
-        interfaces such that if the 'implements' argumennt is not
-        None, it is an implementation specification such that some of
-        the interfaces in the specification extend or equal the
-        require interface (or the require interface was None).
-
-        The meta-data returned is a sequence of mapping objects with
-        the following keys:
-
-        require -- The required interface
-
-        object -- The registered object
-
-        """
 
     def getAll(implements=None):
         """Get registered objects
@@ -79,3 +61,6 @@
 
         """
     
+    def getAllForObject(object):
+        """Get all registered objects for types that object implements. 
+        """