[jboss-cvs] JBossRemoting/src/tests/org/jboss/test/remoting/transport/multiplex ...
Tom Elrod
tom.elrod at jboss.com
Wed Jul 12 00:49:52 EDT 2006
User: telrod
Date: 06/07/12 00:49:52
Modified: src/tests/org/jboss/test/remoting/transport/multiplex
MultiplexingManagerStaticThreadsTestCase.java
Log:
JBREM-496 & JBREM-492 & JBREM-535 - changed invoker loading to use a client and server factory instead of loading classes directly. This allows users ability to plugin custom transport implementation with zero config. Also added config for forcing remote call when client and server within same jvm (which was able to do previously using BYVALUE config, but not any more). Also changed way to get hint if transport supports ssl to be provided by the transport factory instead of the transport itself.
Revision Changes Path
1.2 +5 -6 JBossRemoting/src/tests/org/jboss/test/remoting/transport/multiplex/MultiplexingManagerStaticThreadsTestCase.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: MultiplexingManagerStaticThreadsTestCase.java
===================================================================
RCS file: /cvsroot/jboss/JBossRemoting/src/tests/org/jboss/test/remoting/transport/multiplex/MultiplexingManagerStaticThreadsTestCase.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- MultiplexingManagerStaticThreadsTestCase.java 25 Jun 2006 19:05:51 -0000 1.1
+++ MultiplexingManagerStaticThreadsTestCase.java 12 Jul 2006 04:49:52 -0000 1.2
@@ -21,11 +21,6 @@
*/
package org.jboss.test.remoting.transport.multiplex;
-import java.lang.reflect.Field;
-import java.util.HashMap;
-
-import javax.management.MBeanServer;
-
import org.jboss.logging.Logger;
import org.jboss.remoting.Client;
import org.jboss.remoting.InvocationRequest;
@@ -39,6 +34,10 @@
import org.jboss.remoting.transport.multiplex.MultiplexingManager;
import org.jboss.test.remoting.transport.multiplex.utility.SuccessCountingTestCase;
+import javax.management.MBeanServer;
+import java.lang.reflect.Field;
+import java.util.HashMap;
+
/**
*
@@ -97,7 +96,7 @@
{
// Make Client use remote invoker.
HashMap config = new HashMap();
- config.put(InvokerLocator.BYVALUE, "true");
+ config.put(InvokerLocator.FORCE_REMOTE, "true");
// Create Client and call invoke() to set up server invoker.
Client client = new Client(serverLocator, config);
More information about the jboss-cvs-commits
mailing list