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 "Eugene Prokopiev (JIRA)" <xm...@ws.apache.org> on 2006/11/13 13:59:38 UTC

[jira] Created: (XMLRPC-126) Remove ClientFactory hard dependency from remote interface name

Remove ClientFactory hard dependency from remote interface name
---------------------------------------------------------------

                 Key: XMLRPC-126
                 URL: http://issues.apache.org/jira/browse/XMLRPC-126
             Project: XML-RPC
          Issue Type: Improvement
    Affects Versions: 3.0
            Reporter: Eugene Prokopiev


Hi,

It can be usefull to remove ClientFactory hard dependency from remote interface name, so client code will be looks like:

ClientFactory factory = new ClientFactory(client);
IManager manager = (IManager)factory.newInstance(IManager.class, "manager");
String result = manager.init();

In this case interface can be associated with any convenient remote object

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (XMLRPC-126) Remove ClientFactory hard dependency from remote interface name

Posted by "Eugene Prokopiev (JIRA)" <xm...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/XMLRPC-126?page=comments#action_12449576 ] 
            
Eugene Prokopiev commented on XMLRPC-126:
-----------------------------------------

Patch is provided

> Remove ClientFactory hard dependency from remote interface name
> ---------------------------------------------------------------
>
>                 Key: XMLRPC-126
>                 URL: http://issues.apache.org/jira/browse/XMLRPC-126
>             Project: XML-RPC
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Eugene Prokopiev
>         Attachments: ClientFactory.diff, ClientFactory.java
>
>
> Hi,
> It can be usefull to remove ClientFactory hard dependency from remote interface name, so client code will be looks like:
> ClientFactory factory = new ClientFactory(client);
> IManager manager = (IManager)factory.newInstance(IManager.class, "manager");
> String result = manager.init();
> In this case interface can be associated with any convenient remote object

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (XMLRPC-126) Remove ClientFactory hard dependency from remote interface name

Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/XMLRPC-126?page=comments#action_12449388 ] 
            
Jochen Wiedmann commented on XMLRPC-126:
----------------------------------------

Please be so kind to provide a patch.


> Remove ClientFactory hard dependency from remote interface name
> ---------------------------------------------------------------
>
>                 Key: XMLRPC-126
>                 URL: http://issues.apache.org/jira/browse/XMLRPC-126
>             Project: XML-RPC
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Eugene Prokopiev
>         Attachments: ClientFactory.java
>
>
> Hi,
> It can be usefull to remove ClientFactory hard dependency from remote interface name, so client code will be looks like:
> ClientFactory factory = new ClientFactory(client);
> IManager manager = (IManager)factory.newInstance(IManager.class, "manager");
> String result = manager.init();
> In this case interface can be associated with any convenient remote object

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (XMLRPC-126) Remove ClientFactory hard dependency from remote interface name

Posted by "Jochen Wiedmann (JIRA)" <xm...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLRPC-126?page=all ]

Jochen Wiedmann resolved XMLRPC-126.
------------------------------------

    Resolution: Fixed
      Assignee: Jochen Wiedmann

Applied to the trunk, with minor modifications.


> Remove ClientFactory hard dependency from remote interface name
> ---------------------------------------------------------------
>
>                 Key: XMLRPC-126
>                 URL: http://issues.apache.org/jira/browse/XMLRPC-126
>             Project: XML-RPC
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Eugene Prokopiev
>         Assigned To: Jochen Wiedmann
>         Attachments: ClientFactory.diff, ClientFactory.java
>
>
> Hi,
> It can be usefull to remove ClientFactory hard dependency from remote interface name, so client code will be looks like:
> ClientFactory factory = new ClientFactory(client);
> IManager manager = (IManager)factory.newInstance(IManager.class, "manager");
> String result = manager.init();
> In this case interface can be associated with any convenient remote object

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (XMLRPC-126) Remove ClientFactory hard dependency from remote interface name

Posted by "Eugene Prokopiev (JIRA)" <xm...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLRPC-126?page=all ]

Eugene Prokopiev updated XMLRPC-126:
------------------------------------

    Attachment: ClientFactory.java

ClientFactory which implements this behaviour

> Remove ClientFactory hard dependency from remote interface name
> ---------------------------------------------------------------
>
>                 Key: XMLRPC-126
>                 URL: http://issues.apache.org/jira/browse/XMLRPC-126
>             Project: XML-RPC
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Eugene Prokopiev
>         Attachments: ClientFactory.java
>
>
> Hi,
> It can be usefull to remove ClientFactory hard dependency from remote interface name, so client code will be looks like:
> ClientFactory factory = new ClientFactory(client);
> IManager manager = (IManager)factory.newInstance(IManager.class, "manager");
> String result = manager.init();
> In this case interface can be associated with any convenient remote object

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (XMLRPC-126) Remove ClientFactory hard dependency from remote interface name

Posted by "Eugene Prokopiev (JIRA)" <xm...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/XMLRPC-126?page=all ]

Eugene Prokopiev updated XMLRPC-126:
------------------------------------

    Attachment: ClientFactory.diff

> Remove ClientFactory hard dependency from remote interface name
> ---------------------------------------------------------------
>
>                 Key: XMLRPC-126
>                 URL: http://issues.apache.org/jira/browse/XMLRPC-126
>             Project: XML-RPC
>          Issue Type: Improvement
>    Affects Versions: 3.0
>            Reporter: Eugene Prokopiev
>         Attachments: ClientFactory.diff, ClientFactory.java
>
>
> Hi,
> It can be usefull to remove ClientFactory hard dependency from remote interface name, so client code will be looks like:
> ClientFactory factory = new ClientFactory(client);
> IManager manager = (IManager)factory.newInstance(IManager.class, "manager");
> String result = manager.init();
> In this case interface can be associated with any convenient remote object

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira