BEA Systems, Inc.

WebLogic Server 6.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 will be generated when this criteria is satisfied.

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

Method Summary
 java.lang.String getStringToCompare()
          The string which will be compared against the value of the specified MBean attribute.
 boolean isNotifyDiffer()
          If true, then send trap when strings compared mismatch.
 boolean isNotifyMatch()
          If true, then send trap only if strings compared match.
 void setNotifyDiffer(boolean flag)
           
 void setNotifyMatch(boolean flag)
           
 void setStringToCompare(java.lang.String stringtocompare)
           
 
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
getNotes, 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, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

getStringToCompare

public java.lang.String getStringToCompare()
The string which will be compared against the value of the specified MBean attribute.

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

setStringToCompare

public void setStringToCompare(java.lang.String stringtocompare)
                        throws javax.management.InvalidAttributeValueException,
                               ConfigurationException


isNotifyDiffer

public boolean isNotifyDiffer()
If true, then send trap when strings compared mismatch.

Default Value: false

setNotifyDiffer

public void setNotifyDiffer(boolean flag)


isNotifyMatch

public boolean isNotifyMatch()
If true, then send trap only if strings compared match.

Default Value: false

setNotifyMatch

public void setNotifyMatch(boolean flag)


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

WebLogic classes and methods that do not appear in this reference are not public and are not supported.