[Zope3-checkins] CVS: Zope3/lib/python/Zope/ComponentArchitecture - IAdapterService.py:1.2.36.1

Jim Fulton jim@zope.com
Wed, 11 Dec 2002 09:08:36 -0500


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

Modified Files:
      Tag: AdapterAndView-branch
	IAdapterService.py 
Log Message:
Added browsing method to interface.


=== Zope3/lib/python/Zope/ComponentArchitecture/IAdapterService.py 1.2 => 1.2.36.1 ===
--- Zope3/lib/python/Zope/ComponentArchitecture/IAdapterService.py:1.2	Mon Jun 10 19:29:23 2002
+++ Zope3/lib/python/Zope/ComponentArchitecture/IAdapterService.py	Wed Dec 11 09:08:36 2002
@@ -32,3 +32,23 @@
 
         The default will be returned if the component can't be found.
         """
+
+    def getRegisteredMatching(for_interfaces=None, provided_interfaces=None):
+        """Return information about registered data
+
+        Zero or more for and provided interfaces may be
+        specified. Registration information matching any of the
+        specified interfaces is returned.
+
+        The arguments may be interfaces, or sequences of interfaces.
+
+        The returned value is a sequence of three-element tuples:
+
+        - required interface
+
+        - provided interface
+
+        - the object registered specifically for the required and
+          provided interfaces.
+
+        """