Author: ron.sigal(a)jboss.com
Date: 2009-05-19 17:21:10 -0400 (Tue, 19 May 2009)
New Revision: 5287
Modified:
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/web/WebInvokerTestClient.java
Log:
JBREM-1100: Makes allowance for new ObjectNames.
Modified:
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/web/WebInvokerTestClient.java
===================================================================
---
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/web/WebInvokerTestClient.java 2009-05-19
21:17:51 UTC (rev 5286)
+++
remoting2/branches/2.2/src/tests/org/jboss/test/remoting/transport/web/WebInvokerTestClient.java 2009-05-19
21:21:10 UTC (rev 5287)
@@ -100,6 +100,14 @@
int index = locatorURI.indexOf(':');
String transport = locatorURI.substring(0, index);
String params = (isServlet(transport) ? ",createUniqueObjectName=true"
: "");
+ if (((String)response).indexOf("serializationtype=java") >= 0)
+ {
+ params += ",serializationtype=java";
+ }
+ else if (((String)response).indexOf("serializationtype=jboss") >=
0)
+ {
+ params += ",serializationtype=jboss";
+ }
String port = "servlet".equals(transport) ? "8080" :
("sslservlet".equals(transport) ? "8443" : "8888");
System.out.println("ObjectName: " + response);
String host = null;
Show replies by date