mx4j/src/core/javax/management/remote JMXConnectorServer.java,1.6,1.7
Simone Bordet <[email protected]> Sat, 28 Aug 2004 14:20:03 +0000
| Newsgroups | gmane.comp.java.mx4j.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mx4j/mx4j/src/core/javax/management/remote
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12823/src/core/javax/management/remote
Modified Files:
JMXConnectorServer.java
Log Message:
Fixed signature of methods, to be compliant with the reference implementation and the specification
Index: JMXConnectorServer.java
===================================================================
RCS file: /cvsroot/mx4j/mx4j/src/core/javax/management/remote/JMXConnectorServer.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** JMXConnectorServer.java 2 Sep 2003 20:31:40 -0000 1.6
--- JMXConnectorServer.java 28 Aug 2004 14:20:01 -0000 1.7
***************
*** 13,17 ****
import java.util.Map;
import java.util.Set;
-
import javax.management.MBeanNotificationInfo;
import javax.management.MBeanRegistration;
--- 13,16 ----
***************
*** 29,37 ****
private static final MBeanNotificationInfo[] notifications = new MBeanNotificationInfo[]{new MBeanNotificationInfo
! (
! new String[]{JMXConnectionNotification.OPENED, JMXConnectionNotification.CLOSED, JMXConnectionNotification.FAILED},
! JMXConnectionNotification.class.getName(),
! "Notifications emitted by the JMXConnectorServer MBean upon opening, closing or failing of a connection"
! )};
private static long notificationSequenceNumber;
--- 28,34 ----
private static final MBeanNotificationInfo[] notifications = new MBeanNotificationInfo[]{new MBeanNotificationInfo
! (new String[]{JMXConnectionNotification.OPENED, JMXConnectionNotification.CLOSED, JMXConnectionNotification.FAILED},
! JMXConnectionNotification.class.getName(),
! "Notifications emitted by the JMXConnectorServer MBean upon opening, closing or failing of a connection")};
private static long notificationSequenceNumber;
***************
*** 50,54 ****
}
! public ObjectName preRegister(MBeanServer server, ObjectName name) throws Exception
{
if (name == null) throw new NullPointerException("ObjectName cannot be null");
--- 47,51 ----
}
! public ObjectName preRegister(MBeanServer server, ObjectName name)
{
if (name == null) throw new NullPointerException("ObjectName cannot be null");
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click