Package io.jmix.ui.app.jmxconsole
Interface JmxControl
- All Known Implementing Classes:
 JmxControlImpl
public interface JmxControl
Interface to provide JMX control functionality for local JMX interfaces
- 
Method Summary
Modifier and TypeMethodDescriptionLoads list of managed bean domainsgetManagedBean(String beanObjectName) Loads the managed bean by its ObjectNameLoads the list of managed bean infosgetOperation(ManagedBeanInfo bean, String operationName, String[] argTypes) Searches for the bean operation by its name and argument types.invokeOperation(ManagedBeanOperation operation, Object[] parameterValues) Invokes method of managed beanloadAttribute(ManagedBeanInfo info, String attributeName) Loads attribute by its name.voidLoads attributes for managed bean descriptorvoidloadAttributeValue(ManagedBeanAttribute attribute) Loads attribute value for managed bean attributevoidsaveAttributeValue(ManagedBeanAttribute attribute) Saves attribute value to JMX node 
- 
Method Details
- 
getManagedBeans
List<ManagedBeanInfo> getManagedBeans()Loads the list of managed bean infos- Returns:
 - the list with managed beans
 
 - 
getManagedBean
Loads the managed bean by its ObjectName- Parameters:
 beanObjectName- exact ObjectName of the bean- Returns:
 - found managed bean, null if no bean found
 
 - 
loadAttributes
Loads attributes for managed bean descriptor- Parameters:
 info- managed bean descriptor
 - 
loadAttribute
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
Loads attribute value for managed bean attribute- Parameters:
 attribute- attribute descriptor
 - 
saveAttributeValue
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 descriptoroperationName- operation exact nameargTypes- operation argument types- Returns:
 - Found operation descriptor, null if not found
 
 - 
invokeOperation
Invokes method of managed bean- Parameters:
 operation- operation descriptorparameterValues- array with parameter values- Returns:
 - invocation result
 
 - 
getDomains
List<ManagedBeanDomain> getDomains()Loads list of managed bean domains- Returns:
 - the list of managed bean domains
 
 
 -