juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ks...@apache.org
Subject svn commit: r1558441 - /juddi/trunk/juddiv3-war/src/main/java/org/apache/juddi/webconsole/hub/UddiAdminHub.java
Date Wed, 15 Jan 2014 15:46:19 GMT
Author: kstam
Date: Wed Jan 15 15:46:19 2014
New Revision: 1558441

URL: http://svn.apache.org/r1558441
Log:
JUDDI-790 fixing transport

Modified:
    juddi/trunk/juddiv3-war/src/main/java/org/apache/juddi/webconsole/hub/UddiAdminHub.java

Modified: juddi/trunk/juddiv3-war/src/main/java/org/apache/juddi/webconsole/hub/UddiAdminHub.java
URL: http://svn.apache.org/viewvc/juddi/trunk/juddiv3-war/src/main/java/org/apache/juddi/webconsole/hub/UddiAdminHub.java?rev=1558441&r1=1558440&r2=1558441&view=diff
==============================================================================
--- juddi/trunk/juddiv3-war/src/main/java/org/apache/juddi/webconsole/hub/UddiAdminHub.java
(original)
+++ juddi/trunk/juddiv3-war/src/main/java/org/apache/juddi/webconsole/hub/UddiAdminHub.java
Wed Jan 15 15:46:19 2014
@@ -220,8 +220,7 @@ public class UddiAdminHub {
                 }
                 Class<?> transportClass = ClassUtil.forName(clazz, Transport.class);
                 if (transportClass != null) {
-                    transport = (Transport) transportClass.
-                            getConstructor(String.class).newInstance(nodename);
+                    transport = client.getTransport(nodename);
 
                     security = transport.getUDDISecurityService();
                     juddi = transport.getJUDDIApiService();



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org


Mime
View raw message