mx4j/src/test/test/mx4j/tools/remote/proxy RemoteMBeanProxyTest.java,1.3,1.4

Simone Bordet <[email protected]>
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/test/test/mx4j/tools/remote/proxy
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2406/src/test/test/mx4j/tools/remote/proxy

Modified Files:
	RemoteMBeanProxyTest.java 
Log Message:
Using rmi instead of iiop

Index: RemoteMBeanProxyTest.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/test/test/mx4j/tools/remote/proxy/RemoteMBeanProxyTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** RemoteMBeanProxyTest.java	22 Feb 2004 12:18:13 -0000	1.3
--- RemoteMBeanProxyTest.java	10 Aug 2004 09:41:07 -0000	1.4
***************
*** 9,22 ****
  package test.mx4j.tools.remote.proxy;
  
- import java.net.URL;
  import java.io.IOException;
! 
  import javax.management.MBeanServer;
  import javax.management.MBeanServerConnection;
- import javax.management.ObjectName;
- import javax.management.NotificationListener;
- import javax.management.Notification;
  import javax.management.MBeanServerDelegateMBean;
  import javax.management.MBeanServerInvocationHandler;
  import javax.management.loading.MLet;
  import javax.management.remote.JMXConnector;
--- 9,21 ----
  package test.mx4j.tools.remote.proxy;
  
  import java.io.IOException;
! import java.net.URL;
  import javax.management.MBeanServer;
  import javax.management.MBeanServerConnection;
  import javax.management.MBeanServerDelegateMBean;
  import javax.management.MBeanServerInvocationHandler;
+ import javax.management.Notification;
+ import javax.management.NotificationListener;
+ import javax.management.ObjectName;
  import javax.management.loading.MLet;
  import javax.management.remote.JMXConnector;
***************
*** 33,37 ****
  
  /**
-  *
   * @author <a href="mailto:[email protected]">Simone Bordet</a>
   * @version $Revision$
--- 32,35 ----
***************
*** 126,130 ****
        remoteServer2.registerMBean(timer, remoteTimerName);
        timer.start();
!       JMXServiceURL address2 = new JMXServiceURL("iiop", "localhost", 0);
        JMXConnectorServer connectorServer2 = JMXConnectorServerFactory.newJMXConnectorServer(address2, null, remoteServer2);
        connectorServer2.start();
--- 124,128 ----
        remoteServer2.registerMBean(timer, remoteTimerName);
        timer.start();
!       JMXServiceURL address2 = new JMXServiceURL("rmi", "localhost", 0);
        JMXConnectorServer connectorServer2 = JMXConnectorServerFactory.newJMXConnectorServer(address2, null, remoteServer2);
        connectorServer2.start();



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.