The Class Browser provides a convenient way to define class rules and method rules. A tree view shows the package/namespace structure of the classes loaded by the SUDs of a certain Agent Group. If more than one AppMon Collector is connected to the AppMon Server, the Class Browser tries to use class data delivered from the one AppMon Collector that appears to have the most current data.
This behavior is sufficient in most cases but there may be situations where the wrong AppMon Collector is used for the user’s purposes. In such cases, you can request all data from all connected AppMon Collectors. To do this, select the use classes of all connected agents option and refresh the view. The tree view supports the default searching and filtering mechanism. Click in the pane and press ^F.
When you enable the use classes of all connected agents option, a refresh may take several minutes as the data is requested from all connected AppMon Collectors.
|By Packages||Group all classes hierarchically by package/namespace.|
|By Classes||Flat view: display a simple class list with interfaces sorted on top of the list.|
|By Interfaces||Group all classes by the implemented interfaces. Classes implementing no interfaces are sorted to the bottom of the list.|
|Class Hierarchy||Inheritance hierarchy with interfaces sorted on top of the list.|
Press OK to generate appropriate Sensor Rules. These depend on the selected tree node.
|Selected Node||Generated Rule|
|Package/Namespace||Class rule (class pattern defines package/namespace)|
|Class||Class rule (class pattern defines single class|
Depending on the context of the Class Browser, you can only select one single tree node, which results in exactly one single generated rule. For example, when you enter the Class Browser from the Exception Measure configuration dialog box. The Class Browser tracks the amount of currently selected classes. It also tracks the selection of a set of well known root packages. Note the Selected Classes counter in the Class Browser dialog box. If the amount of rules to be generated exceeds a certain level, a warning appears when you click OK. The generation of such large amounts of rules is not prohibited though.