Package io.jmix.jmxconsole
Interface JmxControl
- All Known Implementing Classes:
- JmxControlImpl
public interface JmxControl
Interface to provide JMX control functionality for local JMX interfaces.
- 
Method SummaryModifier and TypeMethodDescriptionLoads list of managed bean domains.getManagedBean(String beanObjectName) Loads the managed bean by its ObjectName.Loads the list of managed bean infos.getOperation(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 bean.loadAttribute(ManagedBeanInfo info, String attributeName) Loads attribute by its name.voidLoads attributes for managed bean descriptor.voidloadAttributeValue(ManagedBeanAttribute attribute) Loads attribute value for managed bean attribute.voidsaveAttributeValue(ManagedBeanAttribute attribute) Saves attribute value to JMX node.
- 
Method Details- 
getManagedBeansList<ManagedBeanInfo> getManagedBeans()Loads the list of managed bean infos.- Returns:
- the list with managed beans
 
- 
getManagedBeanLoads the managed bean by its ObjectName.- Parameters:
- beanObjectName- exact ObjectName of the bean
- Returns:
- found managed bean, null if no bean found
 
- 
loadAttributesLoads attributes for managed bean descriptor.- Parameters:
- info- managed bean descriptor
 
- 
loadAttributeLoads 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.
 
- 
loadAttributeValueLoads attribute value for managed bean attribute.- Parameters:
- attribute- attribute descriptor
 
- 
saveAttributeValueSaves attribute value to JMX node.- Parameters:
- attribute- attribute descriptor
 
- 
getOperation@Nullable 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
 
- 
invokeOperationInvokes method of managed bean.- Parameters:
- operation- operation descriptor
- parameterValues- array with parameter values
- Returns:
- invocation result
 
- 
getDomainsList<ManagedBeanDomain> getDomains()Loads list of managed bean domains.- Returns:
- the list of managed bean domains
 
 
-