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

jboss-remoting-commits at lists.jboss.org jboss-remoting-commits at lists.jboss.org
Sun Aug 10 19:15:20 EDT 2008


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

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

Modified: remoting2/branches/2.x/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/socket/MarshallerLoadingServer.java
===================================================================
--- remoting2/branches/2.x/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/socket/MarshallerLoadingServer.java	2008-08-10 23:12:03 UTC (rev 4496)
+++ remoting2/branches/2.x/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/socket/MarshallerLoadingServer.java	2008-08-10 23:15:19 UTC (rev 4497)
@@ -49,8 +49,15 @@
    public void setupServer() throws Exception
    {
       System.out.println("locatorURI: " + locatorURI);
-      InvokerLocator locator = new InvokerLocator(locatorURI);
-      System.out.println("Starting remoting server with locator uri of: " + locatorURI);
+      String newLocatorURI = locatorURI;
+      String metadata = System.getProperty("remoting.metadata");
+      System.out.println("metadata: " + metadata);
+      if(metadata != null)
+      {
+         newLocatorURI += "&" + metadata;
+      }
+      InvokerLocator locator = new InvokerLocator(newLocatorURI);
+      System.out.println("Starting remoting server with locator uri of: " + newLocatorURI);
       connector = new Connector();
       connector.setInvokerLocator(locator.getLocatorURI());
       connector.start();




More information about the jboss-remoting-commits mailing list