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

Define ConstructorParameters annotation type for MXBeans

XMLWordPrintable

    • b92
    • generic
    • generic

        MXBean currently supports model-specific types annotated with
        java.beans.ConstructorProperties that is tightly coupled with
        the client API. A MXBean developer will likely want to avoid
        using java.beans.ConstructorProperties if it ends up in the
        desktop module that their code doesn't want to pull in. In
        that case, the code has to write to achieve the same effort
        by defining the from(CompositeData) method.

        Suggestion from Eamonn McManus [1]:
        Allow ConstructorProperties annotations from any package

        [1] http://mail.openjdk.java.net/pipermail/jmx-dev/2012-September/000077.html

              jbachorik Jaroslav Bachorík
              jbachorik Jaroslav Bachorík
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: