Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-9985

Use parameter names during MBeanInfo assembly

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 3.1.3
    • Fix Version/s: 3.2.1
    • Component/s: JMX
    • Last commented by a User:
      true

      Description

      The behaviour of AbstractReflectiveMBeanInfoAssembler.getOperationParameters(method, beanKey) could be updated to use a org.springframework.core.LocalVariableTableParameterNameDiscoverer instead of returning the parameter names as p0, p1 etc.

      I would imagine that the majority of internal corporate and open source applications typically compiled with class debug information available. Making use of this information would mean that JConsole would display meaningful method attribute names without the bother of using a @ManagedAttribute annotation.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              juergen.hoeller Juergen Hoeller
              Reporter:
              daveboden David Boden
              Last updater:
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 23 weeks, 6 days ago