Author: jochen
Date: Thu Jun 18 07:19:25 2009
New Revision: 785940
URL: http://svn.apache.org/viewvc?rev=785940&view=rev
Log:
PR: XMLRPC-174
Submitted-By: Livnat Peer <[email protected]>
The ClientFactory is now supporting an empty remote class.
Modified:
webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/util/ClientFactory.java
webservices/xmlrpc/trunk/pom.xml
webservices/xmlrpc/trunk/src/changes/changes.xml
Modified:
webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/util/ClientFactory.java
URL:
http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/util/ClientFactory.java?rev=785940&r1=785939&r2=785940&view=diff
==============================================================================
---
webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/util/ClientFactory.java
(original)
+++
webservices/xmlrpc/trunk/client/src/main/java/org/apache/xmlrpc/client/util/ClientFactory.java
Thu Jun 18 07:19:25 2009
@@ -129,7 +129,12 @@
if (isObjectMethodLocal() &&
pMethod.getDeclaringClass().equals(Object.class)) {
return pMethod.invoke(pProxy, pArgs);
}
- String methodName = pRemoteName + "." + pMethod.getName();
+ final String methodName;
+ if (pRemoteName == null || pRemoteName.length() == 0) {
+ methodName = pMethod.getName();
+ } else {
+ methodName = pRemoteName + "." + pMethod.getName();
+ }
Object result;
try {
result = client.execute(methodName, pArgs);
Modified: webservices/xmlrpc/trunk/pom.xml
URL:
http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/pom.xml?rev=785940&r1=785939&r2=785940&view=diff
==============================================================================
--- webservices/xmlrpc/trunk/pom.xml (original)
+++ webservices/xmlrpc/trunk/pom.xml Thu Jun 18 07:19:25 2009
@@ -278,6 +278,10 @@
<name>Greg Wurth</name>
<email>[email protected]</email>
</contributor>
+ <contributor>
+ <name>Livnat Peer</name>
+ <email>[email protected]</email>
+ </contributor>
</contributors>
<scm>
Modified: webservices/xmlrpc/trunk/src/changes/changes.xml
URL:
http://svn.apache.org/viewvc/webservices/xmlrpc/trunk/src/changes/changes.xml?rev=785940&r1=785939&r2=785940&view=diff
==============================================================================
--- webservices/xmlrpc/trunk/src/changes/changes.xml (original)
+++ webservices/xmlrpc/trunk/src/changes/changes.xml Thu Jun 18 07:19:25 2009
@@ -31,6 +31,9 @@
<action dev="jochen" type="fix" issue="XMLRPC-168">
Fixed a deadlock in the ThreadPool.
</action>
+ <action dev="jochen" type="fix" issue="XMLRPC-174" due-to="Livnat Peer"
due-to-email="[email protected]">
+ The ClientFactory is now supporting an empty remote class.
+ </action>
</release>
<release version="3.1.2" date="2009-Apr-19">