ConfigurationMBean, DescriptorBean, javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, SettableBean, SNMPTrapSourceMBean, WebLogicMBeanpublic interface SNMPLogFilterMBean extends SNMPTrapSourceMBean
DEFAULT_EMPTY_BYTE_ARRAY| Modifier and Type | Method | Description |
|---|---|---|
boolean |
addMessageId(java.lang.String messageid) |
Adds a feature to the MessageId attribute of the
SNMPLogFilterMBean object
|
boolean |
addSubsystemName(java.lang.String subsystem) |
Adds a feature to the SubsystemName attribute of the
SNMPLogFilterMBean object
|
boolean |
addUserId(java.lang.String userid) |
Adds a feature to the UserId attribute of the SNMPLogFilterMBean
object
|
java.lang.String[] |
getMessageIds() |
A list of message IDs or ID ranges that cause a WebLogic Server SNMP agent to
generate a notification.
|
java.lang.String |
getMessageSubstring() |
A string that is searched for in the message text.
|
java.lang.String |
getSeverityLevel() |
The minimum severity of a message that causes a WebLogic Server SNMP agent to
generate a notification.
|
java.lang.String[] |
getSubsystemNames() |
A list of subsystems whose messages are selected by this log
filter.
|
java.lang.String[] |
getUserIds() |
A list of user IDs that causes a WebLogic Server SNMP agent to generate a
notification.
|
boolean |
removeMessageId(java.lang.String messageid) |
|
boolean |
removeSubsystemName(java.lang.String subsystem) |
|
boolean |
removeUserId(java.lang.String userid) |
|
void |
setMessageIds(java.lang.String[] messageIdList) |
Sets the value of the MessageIds attribute.
|
void |
setMessageSubstring(java.lang.String MessageSubString) |
Sets the value of the MessageSubstring attribute.
|
void |
setSeverityLevel(java.lang.String severityLevel) |
Sets the value of the SeverityLevel attribute.
|
void |
setSubsystemNames(java.lang.String[] subsystemList) |
Sets the value of the SubsystemNames attribute.
|
void |
setUserIds(java.lang.String[] userIdList) |
Sets the value of the UserIds attribute.
|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSetaddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenergetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddEnabledServer, getEnabledServers, removeEnabledServer, setEnabledServersgetMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParentjava.lang.String getSeverityLevel()
The minimum severity of a message that causes a WebLogic Server SNMP agent to generate a notification.
void setSeverityLevel(java.lang.String severityLevel)
Sets the value of the SeverityLevel attribute.
severityLevel - The new severityLevel valuegetSeverityLevel()java.lang.String[] getSubsystemNames()
A list of subsystems whose messages are selected by this log filter. If none are specified, messages from all subsystems are selected.
void setSubsystemNames(java.lang.String[] subsystemList)
Sets the value of the SubsystemNames attribute.
subsystemList - The new subsystemNames valuegetSubsystemNames()boolean addSubsystemName(java.lang.String subsystem)
throws javax.management.InvalidAttributeValueException,
ConfigurationException
Adds a feature to the SubsystemName attribute of the SNMPLogFilterMBean object
subsystem - The feature to be added to the SubsystemName attributejavax.management.InvalidAttributeValueExceptionConfigurationExceptionboolean removeSubsystemName(java.lang.String subsystem)
throws javax.management.InvalidAttributeValueException,
ConfigurationException
subsystem - javax.management.InvalidAttributeValueExceptionConfigurationExceptionjava.lang.String[] getUserIds()
A list of user IDs that causes a WebLogic Server SNMP agent to generate a notification.
Every message includes the user ID from the security context in which the message was generated.
If the user ID field for a message matches one of the user IDs you specify in the filter, WebLogic Server generates a notification.
If this log filter doesn't specify user IDs, WebLogic Server can generate a notification for messages from all user IDs.
void setUserIds(java.lang.String[] userIdList)
Sets the value of the UserIds attribute.
userIdList - The new userIds valuegetUserIds()boolean addUserId(java.lang.String userid)
throws javax.management.InvalidAttributeValueException,
ConfigurationException
Adds a feature to the UserId attribute of the SNMPLogFilterMBean object
userid - The feature to be added to the UserId attributejavax.management.InvalidAttributeValueExceptionConfigurationExceptionboolean removeUserId(java.lang.String userid)
throws javax.management.InvalidAttributeValueException,
ConfigurationException
userid - javax.management.InvalidAttributeValueExceptionConfigurationExceptionjava.lang.String[] getMessageIds()
A list of message IDs or ID ranges that cause a WebLogic Server SNMP agent to generate a notification.
If no IDs are specified, this filter selects all message IDs.
Example list: 20,50-100,300
void setMessageIds(java.lang.String[] messageIdList)
Sets the value of the MessageIds attribute.
messageIdList - The new messageIds valuegetMessageIds()boolean addMessageId(java.lang.String messageid)
throws javax.management.InvalidAttributeValueException,
ConfigurationException
Adds a feature to the MessageId attribute of the SNMPLogFilterMBean object
messageid - The feature to be added to the MessageId attributejavax.management.InvalidAttributeValueExceptionConfigurationExceptionboolean removeMessageId(java.lang.String messageid)
throws javax.management.InvalidAttributeValueException,
ConfigurationException
messageid - javax.management.InvalidAttributeValueExceptionConfigurationExceptionjava.lang.String getMessageSubstring()
A string that is searched for in the message text. Only messages that contain the string are selected. If a string is not specified, all messages are selected.
void setMessageSubstring(java.lang.String MessageSubString)
throws javax.management.InvalidAttributeValueException,
ConfigurationException
Sets the value of the MessageSubstring attribute.
MessageSubString - The new messageSubstring valuejavax.management.InvalidAttributeValueExceptionConfigurationExceptiongetMessageSubstring()