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 SNMPAttributeChangeMBean

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

public interface SNMPAttributeChangeMBean
extends SNMPTrapSourceMBean

This class describes the settings to receive MBean-attribute change notification.


Field Summary

 

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

 

Method Summary
abstract  String getAttributeMBeanName()
          The name of the MBean instance that you want to monitor.
abstract  String getAttributeMBeanType()
          The MBean type that defines the attribute you want to monitor.
abstract  String getAttributeName()
          The name of the attribute that you want to monitor.
abstract  void setAttributeMBeanName(String mbeanname)
          Sets the value of the AttributeMBeanName attribute.
abstract  void setAttributeMBeanType(String mbeantype)
          Sets the value of the AttributeMBeanType attribute.
abstract  void setAttributeName(String attributeName)
          Sets the value of the AttributeName attribute.

 

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

getAttributeMBeanType

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.

Returns:
The attributeMBeanType value

setAttributeMBeanType

void setAttributeMBeanType(String mbeantype)
                           throws InvalidAttributeValueException,
                                  ConfigurationException

Sets the value of the AttributeMBeanType attribute.

Parameters:
mbeantype - The new attributeMBeanType value
Throws:
InvalidAttributeValueException
ConfigurationException
See Also:
SNMPAttributeChangeMBean.getAttributeMBeanType()

getAttributeMBeanName

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.

Returns:
The attributeMBeanName value

setAttributeMBeanName

void setAttributeMBeanName(String mbeanname)
                           throws InvalidAttributeValueException,
                                  ConfigurationException

Sets the value of the AttributeMBeanName attribute.

Parameters:
mbeanname - The new attributeMBeanName value
Throws:
InvalidAttributeValueException
ConfigurationException
See Also:
SNMPAttributeChangeMBean.getAttributeMBeanName()

getAttributeName

String getAttributeName()

The name of the attribute that you want to monitor. This attribute must be in the WebLogic Server MIB.

Returns:
The attributeName value

setAttributeName

void setAttributeName(String attributeName)
                      throws InvalidAttributeValueException,
                             ConfigurationException

Sets the value of the AttributeName attribute.

Parameters:
attributeName - The new attributeName value
Throws:
InvalidAttributeValueException
ConfigurationException
See Also:
SNMPAttributeChangeMBean.getAttributeName()

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