JDK-5086263 : The ObjectName of the default Delegate shall be in a static string
  • Type: Enhancement
  • Component: core-svc
  • Sub-Component: javax.management
  • Affected Version: 5.0
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_9
  • CPU: sparc
  • Submitted: 2004-08-12
  • Updated: 2004-08-17
  • Resolved: 2004-08-17
Related Reports
Duplicate :  
Description
Name: rmT116609			Date: 08/12/2004


A DESCRIPTION OF THE REQUEST :
The javadoc of the MBeanServer specify:
When an MBean is registered or unregistered in the MBean server a MBeanServerNotification Notification is emitted. To register an object as listener to MBeanServerNotifications you should call the MBean server method addNotificationListener with ObjectName the ObjectName of the MBeanServerDelegate. This ObjectName is:
JMImplementation:type=MBeanServerDelegate.

The Object name String shall be coded in the interface as a public static String  DefaultMBeanServerDelegateObjectName="JMImplementation:type=MBeanServerDelegate";

JUSTIFICATION :
This string is part of the SPecification and shall be java coded to avoid anbiguity and to avoid client code recompilation in case the name change.


(Incident Review ID: 285592) 
======================================================================

Comments
EVALUATION This is a duplicate of 4780400. We cannot fix it without an API change, so it is slated for the Mustang (6.0) timeframe. ###@###.### 2004-08-17
17-08-2004