Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.configuration
Interface SNMPStringMonitorMBean

All Superinterfaces:
ConfigurationMBean, DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, SettableBean, SNMPJMXMonitorMBean, SNMPTrapSourceMBean, WebLogicMBean

public interface SNMPStringMonitorMBean
extends SNMPJMXMonitorMBean

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


Field Summary

 

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

 

Method Summary
abstract  String getStringToCompare()
          The string against which the value of the monitored attribute will be compared.
abstract  boolean isNotifyDiffer()
          Generates a notification if the value of the monitored attribute and the value of String to Compare are different.
abstract  boolean isNotifyMatch()
          Generates a notification if the value of the monitored attribute and the value of String to Compare are the same.
abstract  void setNotifyDiffer(boolean flag)
          Sets the value of the NotifyDiffer attribute.
abstract  void setNotifyMatch(boolean flag)
          Sets the value of the NotifyMatch attribute.
abstract  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, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, 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
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Method Detail

getStringToCompare

String getStringToCompare()

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

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

Returns:
The stringToCompare value

setStringToCompare

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:
SNMPStringMonitorMBean.getStringToCompare()

isNotifyDiffer

boolean isNotifyDiffer()

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

Returns:
The notifyDiffer value

setNotifyDiffer

void setNotifyDiffer(boolean flag)

Sets the value of the NotifyDiffer attribute.

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

isNotifyMatch

boolean isNotifyMatch()

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

Returns:
The notifyMatch value

setNotifyMatch

void setNotifyMatch(boolean flag)

Sets the value of the NotifyMatch attribute.

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

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09