Sun GlassFish Enterprise Server v2.1.1 Administration Reference


The following table describes attributes for the event element.

Table 1–58 event Attributes






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 v2.1.1 Administration Guide.

  • cluster — A Group Management Service (GMS) event. For more information, see group-management-service.

  • lifecycle — A lifecycle event. For more information about the server life cycle, see the Sun GlassFish Enterprise Server v2.1.1 Developer’s Guide.

  • log — An event in the server log. For more information about the server log, see log-service.

  • monitor — A monitoring event, which is a change in the attribute of a monitored mbean.

  • notification — A JMX notification event. Any custom mbean that implements the JMX NotificationEmitter interface can be a notification event.

  • timer — An event that occurs at a specified time.

  • trace — A trace event.

For descriptions of required and optional properties corresponding to each of these types, see the following table. 



(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.



(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.