The following table describes attributes for the event element.
Table 1–57 event Attributes
Attribute |
Default |
Description |
---|---|---|
none |
Specifies the type of event that triggers the management rule's action. Allowed values are as follows. The cluster, lifecycle, log, monitor, timer, and trace types are predefined events provided by the Enterprise Server. Note – Some topics in the documentation pertain to features that are available only in domains that are configured to support clusters. Examples of domains that support clusters are domains that are created with the cluster profile or the enterprise profile. For information about profiles, see Usage Profiles in Sun GlassFish Enterprise Server 2.1 Administration Guide.
For descriptions of required and optional properties corresponding to each of these types, see the following table. |
|
INFO |
(optional) Specifies the level at which to log the event occurrence. For information about log levels, see module-log-levels. Applicable only if record-event is set to true. |
|
true |
(optional) Specifies whether the occurrence of the event is logged. If no action is specified for the parent management-rule, the event is logged regardless of this setting. Note – Setting the type to log is different from setting record-event to true. The former specifies what the event is. The latter specifies what happens after the event occurs. |