[jboss-remoting-commits] JBoss Remoting SVN: r4494 - remoting2/branches/2.x/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/http.

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Sun Aug 10 19:11:02 EDT 2008


Author: ron.sigal at jboss.com
Date: 2008-08-10 19:11:02 -0400 (Sun, 10 Aug 2008)
New Revision: 4494

Modified:
   remoting2/branches/2.x/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/http/MarshallerLoadingClient.java
Log:
JBREM-302, JBREM-1023: Adds "serializationtype" to InvokerLocator.

Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/http/MarshallerLoadingClient.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/http/MarshallerLoadingClient.java	2008-08-10 23:10:15 UTC (rev 4493)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/http/MarshallerLoadingClient.java	2008-08-10 23:11:02 UTC (rev 4494)
@@ -51,8 +51,14 @@
 
       try
       {
-         InvokerLocator locator = new InvokerLocator(locatorURI);
-         System.out.println("Calling remoting server with locator uri of: " + locatorURI);
+         String newLocatorURI = locatorURI;
+         String metadata = System.getProperty("remoting.metadata");
+         if(metadata != null)
+         {
+            newLocatorURI += "&" + metadata;
+         }
+         InvokerLocator locator = new InvokerLocator(newLocatorURI);
+         System.out.println("Calling remoting server with locator uri of: " + newLocatorURI);
 
          remotingClient = new Client(locator);
          remotingClient.connect();




More information about the jboss-remoting-commits mailing list