You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by bu...@apache.org on 2003/03/17 09:31:11 UTC
DO NOT REPLY [Bug 18033] -
Not finding registered handlers
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18033>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18033
Not finding registered handlers
aevers@redwood.nl changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
------- Additional Comments From aevers@redwood.nl 2003-03-17 08:31 -------
The code is working as designed. Handlers are objects registered with the
handler mapping. To call a method, you must specify the handler, and the
method to call, separated by a '.'.
eg. You register an instance of Foo that has a bar() method under the
handler name "myfoo", then it can be called as "myfoo.bar". If there
is no object registered for "myfoo" then we use the object registered
for "$default". If no "$default" handler is registered, an exception
is thrown.
If you want methods to be called by with external names that do not
contain dots, then register a "$default" handler.