You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-auto@ws.apache.org by "Oliver Wagner (JIRA)" <xm...@ws.apache.org> on 2010/05/27 18:38:45 UTC

[jira] Created: (XMLRPC-182) PropertyHandlerMapping should allow unprefixed names

PropertyHandlerMapping should allow unprefixed names
----------------------------------------------------

                 Key: XMLRPC-182
                 URL: https://issues.apache.org/jira/browse/XMLRPC-182
             Project: XML-RPC
          Issue Type: Improvement
          Components: Source
    Affects Versions: 3.1.3
            Reporter: Oliver Wagner
            Priority: Minor


Currently PropertyHandlerMapping will always register method names with the form "<pKey>.<methodname>", there is no way to create a method without prefix. Even when pKey is null, the name generated will be "null.<methodname>".

Similiar to the recent change on the client side, I propose to change name generation to not generate a prefix if pKey is null, e.g. in registerPublicMethods():

			String name=(pKey!=null)?(pKey + "." + method.getName()):method.getName();



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.