FileDocCategorySizeDatePackage
EventConfig.javaAPI DocGlassfish v2 API3268Fri May 04 22:30:34 BST 2007com.sun.appserv.management.config

EventConfig

public interface EventConfig implements Description, ConfigElement, PropertiesAccess
Represents the <event-config> element.

Contained in {@link ManagementRuleConfig}.

since
Appserver 9.0
see
ManagementRuleConfig
see
ActionConfig

Fields Summary
public static final String
J2EE_TYPE
The j2eeType as returned by {@link com.sun.appserv.management.base.AMX#getJ2EEType}.
Constructors Summary
Methods Summary
public java.lang.StringgetLevel()
Specifies at what level to record the event occurance in server log file. Default value is INFO.

public booleangetRecordEvent()
Specifies whether the occurance of the event is to be logged or not. By default this would be true. If no action is specified, the event would be recorded.

public java.lang.StringgetType()

see
EventTypeValues

public voidsetLevel(java.lang.String level)

public voidsetRecordEvent(boolean recordIt)

public voidsetType(java.lang.String type)
Value must be one of the types given by {@link EventTypeValues}.

see
EventTypeValues