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