[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/xmlrpcintrospection/ fixing API name (listAllMethods -> listMethods)

Tarek Ziadé tziade at nuxeo.com
Fri Nov 4 19:21:43 EST 2005


Log message for revision 39902:
  fixing API name (listAllMethods -> listMethods)

Changed:
  U   Zope3/trunk/src/zope/app/xmlrpcintrospection/README.txt
  U   Zope3/trunk/src/zope/app/xmlrpcintrospection/configure.zcml
  U   Zope3/trunk/src/zope/app/xmlrpcintrospection/xmlrpcintrospection.py

-=-
Modified: Zope3/trunk/src/zope/app/xmlrpcintrospection/README.txt
===================================================================
--- Zope3/trunk/src/zope/app/xmlrpcintrospection/README.txt	2005-11-04 23:39:41 UTC (rev 39901)
+++ Zope3/trunk/src/zope/app/xmlrpcintrospection/README.txt	2005-11-05 00:21:42 UTC (rev 39902)
@@ -142,7 +142,7 @@
   ...   <include package="zope.app.publisher.xmlrpc" file="meta.zcml" />
   ...   <xmlrpc:view
   ...     for="zope.interface.Interface"
-  ...     methods="listAllMethods  methodHelp methodSignature"
+  ...     methods="listMethods  methodHelp methodSignature"
   ...     class="zope.app.xmlrpcintrospection.xmlrpcintrospection.XMLRPCIntrospection"
   ...     permission="zope.Public"
   ...     />
@@ -160,7 +160,7 @@
   ...
   ... <?xml version='1.0'?>
   ... <methodCall>
-  ... <methodName>listAllMethods</methodName>
+  ... <methodName>listMethods</methodName>
   ... <params>
   ... </params>
   ... </methodCall>
@@ -204,7 +204,7 @@
   ...
   ... <?xml version='1.0'?>
   ... <methodCall>
-  ... <methodName>listAllMethods</methodName>
+  ... <methodName>listMethods</methodName>
   ... <params>
   ... </params>
   ... </methodCall>

Modified: Zope3/trunk/src/zope/app/xmlrpcintrospection/configure.zcml
===================================================================
--- Zope3/trunk/src/zope/app/xmlrpcintrospection/configure.zcml	2005-11-04 23:39:41 UTC (rev 39901)
+++ Zope3/trunk/src/zope/app/xmlrpcintrospection/configure.zcml	2005-11-05 00:21:42 UTC (rev 39902)
@@ -5,7 +5,7 @@
 
   <xmlrpc:view
       for="zope.interface.Interface"
-      methods="listAllMethods methodHelp methodSignature"
+      methods="listMethods methodHelp methodSignature"
       class=".xmlrpcintrospection.XMLRPCIntrospection"
       permission="zope.Public"
       />

Modified: Zope3/trunk/src/zope/app/xmlrpcintrospection/xmlrpcintrospection.py
===================================================================
--- Zope3/trunk/src/zope/app/xmlrpcintrospection/xmlrpcintrospection.py	2005-11-04 23:39:41 UTC (rev 39901)
+++ Zope3/trunk/src/zope/app/xmlrpcintrospection/xmlrpcintrospection.py	2005-11-05 00:21:42 UTC (rev 39902)
@@ -13,7 +13,7 @@
 ##############################################################################
 """XML-RPC Introspection mechanism
 
-$Id:$
+$Id$
 """
 __docformat__ = 'restructuredtext'
 
@@ -36,7 +36,7 @@
 
 class XMLRPCIntrospection(object):
 
-    def listAllMethods(self):
+    def listMethods(self):
         """ lists all methods available """
         return self._getXMLRPCMethods()
 
@@ -49,12 +49,12 @@
         return self._getXMLRPCMethodHelp(method_name)
 
     def __call__(self, *args, **kw):
-        return self.listAllMethods()
+        return self.listMethods()
 
     #
     # Introspection APIS
     #
-    _reserved_method_names = (u'', u'listAllMethods', u'methodHelp',
+    _reserved_method_names = (u'', u'listMethods', u'methodHelp',
                               u'methodSignature')
 
     def _filterXMLRPCRequestRegistrations(self, registrations):



More information about the Zope3-Checkins mailing list