Author: ron.sigal(a)jboss.com
Date: 2008-08-10 19:12:03 -0400 (Sun, 10 Aug 2008)
New Revision: 4496
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/socket/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/socket/MarshallerLoadingClient.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/socket/MarshallerLoadingClient.java 2008-08-10
23:11:28 UTC (rev 4495)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/marshall/dynamic/remote/socket/MarshallerLoadingClient.java 2008-08-10
23:12:03 UTC (rev 4496)
@@ -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();
Show replies by date