Method "int isX()" in Standard MBean neither an attribute nor operation

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 5.0
    • Affects Version/s: 5.0
    • Component/s: core-svc
    • b32
    • generic
    • generic

      A Standard MBean with this interface:

      public interface ThingMBean {
          int isSurprising();
      }

      should define an operation called "isSurprising" with zero args. But the introspection logic to detect getters called "boolean isX()" interferes with this, and ends up defining neither an attribute nor an operation in the MBeanInfo for the MBean.

            Assignee:
            Eamonn McManus
            Reporter:
            Eamonn McManus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: