mx4j/src/core/javax/management MBeanServerDelegate.java,1.13,1.14

Simone Bordet <[email protected]>
Newsgroups gmane.comp.java.mx4j.cvs
Message-ID <[email protected]>
Update of /cvsroot/mx4j/mx4j/src/core/javax/management
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14880/src/core/javax/management

Modified Files:
	MBeanServerDelegate.java 
Log Message:
Updated version to 2.0

Index: MBeanServerDelegate.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/MBeanServerDelegate.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** MBeanServerDelegate.java	10 Nov 2003 18:16:54 -0000	1.13
--- MBeanServerDelegate.java	16 Mar 2004 09:44:24 -0000	1.14
***************
*** 26,34 ****
     // Only notifications of type MBeanServerNotification are emitted by this class, so the array must have length 1
     private static final MBeanNotificationInfo[] notifications = new MBeanNotificationInfo[]{new MBeanNotificationInfo
!    (
!           new String[]{MBeanServerNotification.REGISTRATION_NOTIFICATION, MBeanServerNotification.UNREGISTRATION_NOTIFICATION},
!           MBeanServerNotification.class.getName(), // as required by the spec
!           "Notifications emitted by the MBeanServerDelegate MBean upon registration or unregistration of MBeans"
!    )};
  
     private String mbeanServerID;
--- 26,32 ----
     // Only notifications of type MBeanServerNotification are emitted by this class, so the array must have length 1
     private static final MBeanNotificationInfo[] notifications = new MBeanNotificationInfo[]{new MBeanNotificationInfo
!            (new String[]{MBeanServerNotification.REGISTRATION_NOTIFICATION, MBeanServerNotification.UNREGISTRATION_NOTIFICATION},
!             MBeanServerNotification.class.getName(), // as required by the spec
!             "Notifications emitted by the MBeanServerDelegate MBean upon registration or unregistration of MBeans")};
  
     private String mbeanServerID;
***************
*** 68,72 ****
     public void sendNotification(Notification notification)
     {
!        broadcaster.sendNotification(notification);
     }
  
--- 66,70 ----
     public void sendNotification(Notification notification)
     {
!       broadcaster.sendNotification(notification);
     }
  
***************
*** 93,97 ****
     public String getImplementationVersion()
     {
!       return "2.0-beta-1";
     }
  
--- 91,95 ----
     public String getImplementationVersion()
     {
!       return "2.0";
     }
  



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
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.