
<reference reference-type="weak"> <reference-target target-type="library"> tc~jmx </reference-target> </reference>
For more information, see Connect to an MBeanServer .
To do this, you must first know the attribute's path, that is, where the value you are interested in is situated in the monitoring tree. The monitor tree is visualized in the monitor browser within the Java System Reports. For a delimiter, you must use a slash ("/").
From the path of the monitor within the tree, the ObjectName is built using the getNameForMonitorPerNode(..) method in com.sap.jmx.ObjectNameFactory .
For example, for a monitor with path /Applications/Bank Information/General Information/Bank ranking, you can build the ObjectName using the following lines of code:
String pathInTheTree = "/Applications/Bank Information/General Information/Bank ranking"; ObjectName monitorObjectName = ObjectNameFactory.getNameForMonitorPerNode(ObjectName.quote(pathInTheTree), null, null);
For more information about the methods of the different types of monitors, see:
Performance monitors and their methods - contains a list of methods and examples of the availability monitor, integer monitor, long monitor, frequency monitor, quality-rate monitor, and duration monitor.
Non-performance monitors and their methods - contains a list of methods and examples of the text-monitor, state-monitor, table-monitor, version-monitor, and configuration-monitor.