mx4j/src/core/javax/management/remote/rmi RMIConnector.java,1.25,1.26

Simone Bordet <[email protected]> Sun, 12 Jun 2005 22:34:32 +0000
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/core/javax/management/remote/rmi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18325/src/core/javax/management/remote/rmi

Modified Files:
	RMIConnector.java 
Log Message:
Fixed bug #1219367: the RMIConnector was not passing the default loader to the client notification handler, making impossible to unmarshal custom notifications known only to server side.

Index: RMIConnector.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/remote/rmi/RMIConnector.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -C2 -d -r1.25 -r1.26
*** RMIConnector.java	13 Nov 2004 16:38:58 -0000	1.25
--- RMIConnector.java	12 Jun 2005 22:34:30 -0000	1.26
***************
*** 16,19 ****
--- 16,20 ----
  import java.util.HashMap;
  import java.util.Map;
+ 
  import javax.management.ListenerNotFoundException;
  import javax.management.MBeanServerConnection;
***************
*** 127,131 ****
  
           this.heartbeat = new RMIHeartBeat(connection, emitter, env);
!          this.notificationHandler = new RMIRemoteNotificationClientHandler(connection, emitter, heartbeat, env);
  
           this.heartbeat.start();
--- 128,132 ----
  
           this.heartbeat = new RMIHeartBeat(connection, emitter, env);
!          this.notificationHandler = new RMIRemoteNotificationClientHandler(connection, defaultClassLoader, emitter, heartbeat, env);
  
           this.heartbeat.start();



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20