Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-5086263

The ObjectName of the default Delegate shall be in a static string

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 5.0
    • core-svc

      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)
      ======================================================================

            emcmanus Eamonn McManus
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: