public interface JmxControlAPI
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
java.util.List<ManagedBeanDomain> |
getDomains(JmxInstance instance)
Loads list of managed bean domains
|
java.util.List<JmxInstance> |
getInstances() |
JmxInstance |
getLocalInstance() |
java.lang.String |
getLocalNodeName() |
ManagedBeanInfo |
getManagedBean(JmxInstance instance,
java.lang.String beanObjectName)
Loads the managed bean by its ObjectName
|
java.util.List<ManagedBeanInfo> |
getManagedBeans(JmxInstance instance)
Loads the list of managed bean infos
|
ManagedBeanOperation |
getOperation(ManagedBeanInfo bean,
java.lang.String operationName,
java.lang.String[] argTypes)
Searches for the bean operation by its name and argument types.
|
java.lang.String |
getRemoteNodeName(JmxInstance jmxInstance) |
java.lang.Object |
invokeOperation(ManagedBeanOperation operation,
java.lang.Object[] parameterValues)
Invokes method of managed bean
|
ManagedBeanAttribute |
loadAttribute(ManagedBeanInfo info,
java.lang.String attributeName)
Loads attribute by its name.
|
void |
loadAttributes(ManagedBeanInfo info)
Loads attributes for managed bean descriptor
|
void |
loadAttributeValue(ManagedBeanAttribute attribute)
Loads attribute value for managed bean attribute
|
void |
saveAttributeValue(ManagedBeanAttribute attribute)
Saves attribute value to JMX node
|
static final java.lang.String NAME
java.util.List<JmxInstance> getInstances()
JmxInstance getLocalInstance()
java.lang.String getLocalNodeName()
java.lang.String getRemoteNodeName(JmxInstance jmxInstance)
java.util.List<ManagedBeanInfo> getManagedBeans(JmxInstance instance)
instance
- JMX node descriptorManagedBeanInfo getManagedBean(JmxInstance instance, java.lang.String beanObjectName)
instance
- JMX node descriptorbeanObjectName
- exact ObjectName of the beanvoid loadAttributes(ManagedBeanInfo info)
info
- managed bean descriptor@Nullable ManagedBeanAttribute loadAttribute(ManagedBeanInfo info, java.lang.String attributeName)
info
- managed bean descriptorvoid loadAttributeValue(ManagedBeanAttribute attribute)
attribute
- attribute descriptorvoid saveAttributeValue(ManagedBeanAttribute attribute)
attribute
- attribute descriptorManagedBeanOperation getOperation(ManagedBeanInfo bean, java.lang.String operationName, @Nullable java.lang.String[] argTypes)
bean
- managed bean descriptoroperationName
- operation exact nameargTypes
- operation argument typesjava.lang.Object invokeOperation(ManagedBeanOperation operation, java.lang.Object[] parameterValues)
operation
- operation descriptorparameterValues
- array with parameter valuesjava.util.List<ManagedBeanDomain> getDomains(JmxInstance instance)
instance
- JMX node descriptor