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

Define an Annotation to name registered MBeans

XMLWordPrintable

    • b43
    • sparc
    • generic
    • Not verified

      It can be useful to define an Annotation that allow to express how an MBean is named once registered inside an MBeanServer. In the context where MBean are Singleton, the interest is obvious.
      More logic is needed when dealing with multiple instances of the same type.

      Having a default naming pattern that follows the best practices seems an interestering feature.

      Deriving names from MBean attributes is also a possibility to investigate. See also bug id 6323980 for a suggested fix.

            jfdenise Jean-Francois Denise (Inactive)
            jfdenise Jean-Francois Denise (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: