ConfigurationMBean, DescriptorBean, javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, SettableBean, SNMPTrapSourceMBean, WebLogicMBeanpublic interface SNMPAttributeChangeMBean extends SNMPTrapSourceMBean
This class describes the settings to receive MBean-attribute change notification.
DEFAULT_EMPTY_BYTE_ARRAY| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getAttributeMBeanName() |
The name of the MBean instance that you want to monitor.
|
java.lang.String |
getAttributeMBeanType() |
The MBean type that defines the attribute you want to monitor.
|
java.lang.String |
getAttributeName() |
The name of the attribute that you want to monitor.
|
void |
setAttributeMBeanName(java.lang.String mbeanname) |
Sets the value of the AttributeMBeanName attribute.
|
void |
setAttributeMBeanType(java.lang.String mbeantype) |
Sets the value of the AttributeMBeanType attribute.
|
void |
setAttributeName(java.lang.String attributeName) |
Sets the value of the AttributeName attribute.
|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSetaddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenergetAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preDeregister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddEnabledServer, getEnabledServers, removeEnabledServer, setEnabledServersgetMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParentjava.lang.String getAttributeMBeanType()
The MBean type that defines the attribute you want to monitor.
Do not include the MBean suffix. For example, specify
Server to monitor a ServerMBean.
WebLogic Server does not support using Attribute Change
notifications to monitor run-time attributes. Runtime MBeans always
include the word Runtime in their names. For example,
the ServerRuntime MBean provides access to runtime
attributes while the Server MBean provides access to
configuration attributes. To monitor changes in an MBean that
includes Runtime in its name, use a String Monitor,
Gauge Monitor, or Counter Monitor.
void setAttributeMBeanType(java.lang.String mbeantype)
throws javax.management.InvalidAttributeValueException,
ConfigurationException
Sets the value of the AttributeMBeanType attribute.
mbeantype - The new attributeMBeanType valuejavax.management.InvalidAttributeValueExceptionConfigurationExceptiongetAttributeMBeanType()java.lang.String getAttributeMBeanName()
The name of the MBean instance that you want to monitor. If you leave the name undefined, WebLogic Server monitors all instances of the MBean type that you specify in Monitored MBean Type.
Do not enter the full JMX object name of the MBean instance.
Instead, enter only the value that you provided when you created
the instance. To create unique MBean object names, WebLogic Server
encodes several name-value pairs into each object name. One of
these pairs is Name=name, and this is the value
that you enter for MBean Name. For example:
"MedRec:Name=MedRecServer,
Type=ServerRuntime"
In the previous example, specify MedRecServer as the
name of the MBean instance.
void setAttributeMBeanName(java.lang.String mbeanname)
throws javax.management.InvalidAttributeValueException,
ConfigurationException
Sets the value of the AttributeMBeanName attribute.
mbeanname - The new attributeMBeanName valuejavax.management.InvalidAttributeValueExceptionConfigurationExceptiongetAttributeMBeanName()java.lang.String getAttributeName()
The name of the attribute that you want to monitor. This attribute must be in the WebLogic Server MIB.
void setAttributeName(java.lang.String attributeName)
throws javax.management.InvalidAttributeValueException,
ConfigurationException
Sets the value of the AttributeName attribute.
attributeName - The new attributeName valuejavax.management.InvalidAttributeValueExceptionConfigurationExceptiongetAttributeName()