Author: ron.sigal(a)jboss.com
Date: 2008-05-02 01:07:39 -0400 (Fri, 02 May 2008)
New Revision: 4120
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/detection/multicast/deadlock/MulticastDetectorServer.java
Log:
JBREM-930: Registers Connector with MBeanServer earlier.
Modified:
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/detection/multicast/deadlock/MulticastDetectorServer.java
===================================================================
---
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/detection/multicast/deadlock/MulticastDetectorServer.java 2008-05-02
05:07:05 UTC (rev 4119)
+++
remoting2/branches/2.x/src/tests/org/jboss/test/remoting/detection/multicast/deadlock/MulticastDetectorServer.java 2008-05-02
05:07:39 UTC (rev 4120)
@@ -84,13 +84,13 @@
connector = new Connector(config);
connector.setInvokerLocator(locator.getLocatorURI());
+
+ ObjectName obj = new
ObjectName("jboss.remoting:type=Connector,transport=" + locator.getProtocol());
+ server.registerMBean(connector, obj);
connector.create();
TestHandler handler = new TestHandler();
connector.addInvocationHandler("mock", handler);
-
- ObjectName obj = new
ObjectName("jboss.remoting:type=Connector,transport=" + locator.getProtocol());
- server.registerMBean(connector, obj);
connector.start();
//Need to set new domain for identity
Show replies by date