Interface JmxControl

All Known Implementing Classes:
JmxControlImpl

public interface JmxControl
Interface to provide JMX control functionality for local JMX interfaces
  • Method Details

    • getManagedBeans

      List<ManagedBeanInfo> getManagedBeans()
      Loads the list of managed bean infos
      Returns:
      the list with managed beans
    • getManagedBean

      ManagedBeanInfo getManagedBean(String beanObjectName)
      Loads the managed bean by its ObjectName
      Parameters:
      beanObjectName - exact ObjectName of the bean
      Returns:
      found managed bean, null if no bean found
    • loadAttributes

      void loadAttributes(ManagedBeanInfo info)
      Loads attributes for managed bean descriptor
      Parameters:
      info - managed bean descriptor
    • loadAttribute

      @Nullable ManagedBeanAttribute loadAttribute(ManagedBeanInfo info, String attributeName)
      Loads attribute by its name. Note that the reference from ManagedBeanInfo to loaded ManagedBeanAttribute is not set.
      Parameters:
      info - managed bean descriptor
      Returns:
      loaded attribute, null if no attribute found.
    • loadAttributeValue

      void loadAttributeValue(ManagedBeanAttribute attribute)
      Loads attribute value for managed bean attribute
      Parameters:
      attribute - attribute descriptor
    • saveAttributeValue

      void saveAttributeValue(ManagedBeanAttribute attribute)
      Saves attribute value to JMX node
      Parameters:
      attribute - attribute descriptor
    • getOperation

      ManagedBeanOperation getOperation(ManagedBeanInfo bean, String operationName, @Nullable String[] argTypes)
      Searches for the bean operation by its name and argument types.
      Parameters:
      bean - managed bean descriptor
      operationName - operation exact name
      argTypes - operation argument types
      Returns:
      Found operation descriptor, null if not found
    • invokeOperation

      Object invokeOperation(ManagedBeanOperation operation, Object[] parameterValues)
      Invokes method of managed bean
      Parameters:
      operation - operation descriptor
      parameterValues - array with parameter values
      Returns:
      invocation result
    • getDomains

      List<ManagedBeanDomain> getDomains()
      Loads list of managed bean domains
      Returns:
      the list of managed bean domains