Java EE 5 SDK

com.sun.appserv.management.config
Interface EventConfig

All Superinterfaces:
AMX, AMXConfig, AMXMBeanLogging, ConfigElement, Description, NotificationBroadcaster, NotificationEmitter, PropertiesAccess

public interface EventConfig
extends ConfigElement, Description, PropertiesAccess

Represents the <event-config> element.

Contained in ManagementRuleConfig.

Since:
Appserver 9.0
See Also:
ManagementRuleConfig, ActionConfig

Field Summary
static String J2EE_TYPE
          The j2eeType as returned by AMX.getJ2EEType().
 
Fields inherited from interface com.sun.appserv.management.config.AMXConfig
CONFIG_CREATED_NOTIFICATION_TYPE, CONFIG_OBJECT_NAME_KEY, CONFIG_REMOVED_NOTIFICATION_TYPE
 
Fields inherited from interface com.sun.appserv.management.base.AMX
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME
 
Fields inherited from interface com.sun.appserv.management.config.Description
DESCRIPTION_KEY
 
Fields inherited from interface com.sun.appserv.management.config.PropertiesAccess
PROPERTY_PREFIX
 
Method Summary
 String getLevel()
          Specifies at what level to record the event occurance in server log file.
 boolean getRecordEvent()
          Specifies whether the occurance of the event is to be logged or not.
 String getType()
           
 void setLevel(String level)
           
 void setRecordEvent(boolean recordIt)
           
 void setType(String type)
          Value must be one of the types given by EventTypeValues.
 
Methods inherited from interface com.sun.appserv.management.base.AMX
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel
 
Methods inherited from interface com.sun.appserv.management.config.Description
getDescription, setDescription
 
Methods inherited from interface com.sun.appserv.management.config.PropertiesAccess
createProperty, existsProperty, getProperties, getPropertyNames, getPropertyValue, removeProperty, setPropertyValue
 

Field Detail

J2EE_TYPE

static final String J2EE_TYPE
The j2eeType as returned by AMX.getJ2EEType().

See Also:
Constant Field Values
Method Detail

getType

String getType()
See Also:
EventTypeValues

setType

void setType(String type)
Value must be one of the types given by EventTypeValues.

See Also:
EventTypeValues

getRecordEvent

boolean getRecordEvent()
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.


setRecordEvent

void setRecordEvent(boolean recordIt)

getLevel

String getLevel()
Specifies at what level to record the event occurance in server log file. Default value is INFO.


setLevel

void setLevel(String level)

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.