Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Type-Safe Access to BEA WebLogic Server 9.1 MBeans (Deprecated)
(Methods marked with @since 9.0.0.0 or later are not available through the deprecated `MBeanHome` interface.)

## weblogic.management.configuration
Interface SNMPStringMonitorMBean

All Superinterfaces:
  ConfigurationMBean, weblogic.descriptor.DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.descriptor.SettableBean, SNMPJMXMonitorMBean, SNMPTrapSourceMBean, weblogic.management.WebLogicMBean

public interface SNMPStringMonitorMBean
extends SNMPJMXMonitorMBean

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

### Deprecation of MBeanHome and Type-Safe Interfaces

This is a type-safe interface for a WebLogic Server MBean, which you can import into your client classes and access through `weblogic.management.MBeanHome`. As of 9.0, the `MBeanHome` interface and all type-safe interfaces for WebLogic Server MBeans are deprecated. Instead, client classes that interact with WebLogic Server MBeans should use standard JMX design patterns in which clients use the `javax.management.MBeanServerConnection` interface to discover MBeans, attributes, and attribute types at runtime. For more information, see "Developing Manageable Applications with JMX" on http://edocs.bea.com.

  Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Field Summary

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
`DEFAULT_EMPTY_BYTE_ARRAY`

Method Summary
`String` | `getStringToCompare()` The string against which the value of the monitored attribute will be compared.
`boolean` | `isNotifyDiffer()` Generates a trap if the value of the monitored attribute and the value of String to Compare are different.
`boolean` | `isNotifyMatch()` Generates a trap if the value of the monitored attribute and the value of String to Compare are the same.
`void` | `setNotifyDiffer(boolean flag)` Sets the value of the NotifyDiffer attribute.
`void` | `setNotifyMatch(boolean flag)` Sets the value of the NotifyMatch attribute.
`void` | `setStringToCompare(String stringtocompare)` Sets the value of the StringToCompare attribute.

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, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet`

Methods inherited from interface weblogic.management.WebLogicMBean
`getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, 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`

Methods inherited from interface weblogic.descriptor.DescriptorBean
`addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener`

Method Detail

### getStringToCompare

    public String getStringToCompare()

  The string against which the value of the monitored attribute will be compared.

  A trap is generated when the criteria specified by Notify Match or Notify Differ is satisfied.

  Returns:
    The stringToCompare value

### isNotifyDiffer

    public boolean isNotifyDiffer()

  Generates a trap if the value of the monitored attribute and the value of String to Compare are different.

  Returns:
    The notifyDiffer value
  Default value:
    false

### isNotifyMatch

    public boolean isNotifyMatch()

  Generates a trap if the value of the monitored attribute and the value of String to Compare are the same.

  Returns:
    The notifyMatch value
  Default value:
    false

### setNotifyDiffer

    public void setNotifyDiffer(boolean flag)

  Sets the value of the NotifyDiffer attribute.

  Parameters:
    `flag` - The new notifyDiffer value
  See Also:
    `isNotifyDiffer()`

### setNotifyMatch

    public void setNotifyMatch(boolean flag)

  Sets the value of the NotifyMatch attribute.

  Parameters:
    `flag` - The new notifyMatch value
  See Also:
    `isNotifyMatch()`

### setStringToCompare

    public void setStringToCompare(String stringtocompare)
                            throws InvalidAttributeValueException,
                                   ConfigurationException

  Sets the value of the StringToCompare attribute.

  Parameters:
    `stringtocompare` - The new stringToCompare value
  Throws:
    `InvalidAttributeValueException`
    `ConfigurationException`
  See Also:
    `getStringToCompare()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs91 Copyright 2005 BEA Systems Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD