BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.configuration
Interface SNMPStringMonitorMBean


public interface SNMPStringMonitorMBean
extends SNMPJMXMonitorMBean

This class describes the criteria for a String-based Monitor. A trap is generated when this criteria is satisfied.

Author:
Copyright © 2002 BEA Systems, Inc. All Rights Reserved.

Field Summary
static long CACHING_STUB_SVUID
          Description of the Field
 
Fields inherited from class weblogic.management.configuration.SNMPJMXMonitorMBean
CACHING_STUB_SVUID
 
Fields inherited from class weblogic.management.configuration.SNMPTrapSourceMBean
CACHING_STUB_SVUID
 
Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID
 
Method Summary
 java.lang.String getStringToCompare()
          Defines a string to be compared to the value of the Monitored Attribute Name.
 boolean isNotifyDiffer()
          Defines that the criteria used to generate a trap is that the value of Monitored Attribute Name and the value of String to Compare do not match.
 boolean isNotifyMatch()
          Defines that the criteria used to generate a trap is that the value of Monitored Attribute Name and the value of String to Compare match.
 void setNotifyDiffer(boolean flag)
          Sets the notifyDiffer attribute of the SNMPStringMonitorMBean object
 void setNotifyMatch(boolean flag)
          Sets the notifyMatch attribute of the SNMPStringMonitorMBean object
 void setStringToCompare(java.lang.String stringtocompare)
          Sets the stringToCompare attribute of the SNMPStringMonitorMBean object
 
Methods inherited from interface weblogic.management.configuration.SNMPJMXMonitorMBean
getMonitoredAttributeName, getMonitoredMBeanName, getMonitoredMBeanType, getPollingInterval, setMonitoredAttributeName, setMonitoredMBeanName, setMonitoredMBeanType, setPollingInterval
 
Methods inherited from interface weblogic.management.configuration.SNMPTrapSourceMBean
addEnabledServer, getEnabledServers, removeEnabledServer, setEnabledServers
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getNotes, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

CACHING_STUB_SVUID

public static final long CACHING_STUB_SVUID
Description of the Field
Method Detail

getStringToCompare

public java.lang.String getStringToCompare()
Defines a string to be compared to the value of the Monitored Attribute Name. A trap is generated when the critiera specified by Notify Match or Notify Differ is satisfied.

Legal Value: (value != null) && (value.trim().length() > 0)
Returns:
The stringToCompare value

setStringToCompare

public void setStringToCompare(java.lang.String stringtocompare)
                        throws javax.management.InvalidAttributeValueException,
                               ConfigurationException
Sets the stringToCompare attribute of the SNMPStringMonitorMBean object

Parameters:
stringtocompare - The new stringToCompare value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
ConfigurationException - Description of the Exception

isNotifyDiffer

public boolean isNotifyDiffer()
Defines that the criteria used to generate a trap is that the value of Monitored Attribute Name and the value of String to Compare do not match.

Default Value: false
Returns:
The notifyDiffer value

setNotifyDiffer

public void setNotifyDiffer(boolean flag)
Sets the notifyDiffer attribute of the SNMPStringMonitorMBean object

Parameters:
flag - The new notifyDiffer value

isNotifyMatch

public boolean isNotifyMatch()
Defines that the criteria used to generate a trap is that the value of Monitored Attribute Name and the value of String to Compare match.

Default Value: false
Returns:
The notifyMatch value

setNotifyMatch

public void setNotifyMatch(boolean flag)
Sets the notifyMatch attribute of the SNMPStringMonitorMBean object

Parameters:
flag - The new notifyMatch value

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81b