
The monitor-configuration.xml is not the only way to create configuration groups and install monitors. You can also create configuration groups and install summary nodes, object nodes, and all kinds of monitors directly from a programmatic interface called MonitorContext . You can find this interface in the monitor_api.jar.
In that case, all information provided by monitor-configuration.xml is passed to the interface methods as input parameters.
To use this function, you must first look up the MonitorContext. To do this, proceed as follows:
<reference reference-type="hard"> <reference-target provider-name="sap.com" target-type="interface">tc/monitoring/api</reference-target> </reference>
InitialContext ctx = new InitialContext();
ctx.lookup("interfaces/tc~monitoring~api");
See also:
Summary Nodes, Object Nodes, and Monitors