Package de.bytestore.hostinger
Schnittstelle JmxControl
- Alle bekannten Implementierungsklassen:
JmxControlImpl
public interface JmxControl
Interface to provide JMX control functionality for local JMX interfaces.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungLoads 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.
-
Methodendetails
-
getManagedBeans
List<ManagedBeanInfo> getManagedBeans()Loads the list of managed bean infos.- Gibt zurück:
- the list with managed beans
-
getManagedBean
Loads the managed bean by its ObjectName.- Parameter:
beanObjectName- exact ObjectName of the bean- Gibt zurück:
- found managed bean, null if no bean found
-
loadAttributes
Loads attributes for managed bean descriptor.- Parameter:
info- managed bean descriptor
-
loadAttribute
Loads attribute by its name. Note that the reference from ManagedBeanInfo to loaded ManagedBeanAttribute is not set.- Parameter:
info- managed bean descriptor- Gibt zurück:
- loaded attribute, null if no attribute found.
-
loadAttributeValue
Loads attribute value for managed bean attribute.- Parameter:
attribute- attribute descriptor
-
saveAttributeValue
Saves attribute value to JMX node.- Parameter:
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.- Parameter:
bean- managed bean descriptoroperationName- operation exact nameargTypes- operation argument types- Gibt zurück:
- Found operation descriptor, null if not found
-
invokeOperation
Invokes method of managed bean.- Parameter:
operation- operation descriptorparameterValues- array with parameter values- Gibt zurück:
- invocation result
-
getDomains
List<ManagedBeanDomain> getDomains()Loads list of managed bean domains.- Gibt zurück:
- the list of managed bean domains
-