MBean server forbids calling "isX()" as operation even if it is not an attribute

XMLWordPrintable

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

      The MBean server recognizes that certain methods in a Standard MBean that begin with "isX()" define operations, not attributes. If the return type is not boolean, then it is an operation. Nevertheless, it forbids calling such an operation using MBeanServer.invoke.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: