Oracle Fusion Middleware
Oracle WebLogic Server MBean Javadoc
12c Release 1 (12.1.1)

Part Number E24395-02

weblogic.management.configuration
Interface SNMPStringMonitorMBean

All Superinterfaces:
ConfigurationMBean, SNMPJMXMonitorMBean, SNMPTrapSourceMBean

public interface SNMPStringMonitorMBean
extends SNMPJMXMonitorMBean

This class describes the criteria for a String-based Monitor. A notification 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."

Changes take effect after you redeploy the module or restart the server.

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 notification if the value of the monitored attribute and the value of String to Compare are different.
 boolean isNotifyMatch()
          Generates a notification 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
 

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
This method can NOT set a value of zero length.

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
Default Value:
false

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
Default Value:
false

setNotifyMatch

void setNotifyMatch(boolean flag)

Sets the value of the NotifyMatch attribute.

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

Copyright 1996, 2011, 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
Oracle WebLogic Server MBean Javadoc
12c Release 1 (12.1.1)

Part Number E24395-02