Interface ManagedBean


public interface ManagedBean
A @ManagedResource bean as the build describes it: its attributes and operations by index, read and invoked through direct calls the build generated. The JMX model -- named attributes you can watch, operations you can call -- with nothing looked up reflectively.
  • Method Details

    • getObjectName

      String getObjectName()
      The name its metrics are prefixed with.
    • getDescription

      String getDescription()
    • attributeNames

      String[] attributeNames()
    • attributeDescriptions

      String[] attributeDescriptions()
    • readAttribute

      Object readAttribute(int index) throws Exception
      The attribute's current value.
      Throws:
      Exception
    • operationNames

      String[] operationNames()
    • operationDescriptions

      String[] operationDescriptions()
    • operationParameters

      String[][] operationParameters()
      Each operation's parameter names, in order.
    • invoke

      Object invoke(int index, Map arguments) throws Exception
      Calls an operation. Arguments arrive by parameter name, as strings, numbers or booleans, and are converted by the generated code.
      Throws:
      Exception