ObjectInstance and Attribute should define toString()

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P3
    • 6
    • Affects Version/s: 6
    • Component/s: core-svc
    • b17
    • generic
    • generic

      javax.management.ObjectInstance should define a toString() method.
      It could look something like this:
          return getClassName() + "[" + getObjectName() + "]";
      using essentially the same syntax as for MBeanPermission.

      javax.management.Attribute should also define toString().
      It could look something like this:
          return getName() + " = " + getValue();

            Assignee:
            Shanliang Jiang (Inactive)
            Reporter:
            Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: