BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.configuration
Interface SNMPJMXMonitorMBean

All Known Subinterfaces:
SNMPCounterMonitorMBean, SNMPGaugeMonitorMBean, SNMPStringMonitorMBean

public interface SNMPJMXMonitorMBean
extends SNMPTrapSourceMBean

This is a base class for Monitor based trap configration MBeans : SNMPCounterMonitorMBean, SNMPStringMonitorMBean and SNMPGaugeMonitorMBean.

Author:
Copyright © 2004 BEA Systems, Inc. All Rights Reserved.

Field Summary
static long CACHING_STUB_SVUID
           
 
Fields inherited from class weblogic.management.configuration.SNMPTrapSourceMBean
CACHING_STUB_SVUID
 
Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID, DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 java.lang.String getMonitoredAttributeName()
          Defines the name of an attribute to monitor.
 java.lang.String getMonitoredMBeanName()
          Defines the name of the MBean to monitor.
 java.lang.String getMonitoredMBeanType()
          Defines the type of the MBean to monitor.
 int getPollingInterval()
          Defines the frequency the agent checks the attribute value.
 void setMonitoredAttributeName(java.lang.String attributeName)
          Sets the monitoredAttributeName attribute of the SNMPJMXMonitorMBean object
 void setMonitoredMBeanName(java.lang.String mbeanname)
          Sets the monitoredMBeanName attribute of the SNMPJMXMonitorMBean object
 void setMonitoredMBeanType(java.lang.String mbeantype)
          Sets the monitoredMBeanType attribute of the SNMPJMXMonitorMBean object
 void setPollingInterval(int interval)
          Sets the pollingInterval attribute of the SNMPJMXMonitorMBean object
 
Methods inherited from interface weblogic.management.configuration.SNMPTrapSourceMBean
addEnabledServer, getEnabledServers, removeEnabledServer, setEnabledServers
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getNotes, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled
 
Methods inherited from interface weblogic.management.WebLogicMBean
getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent
 
Methods inherited from interface javax.management.DynamicMBean
getAttribute, getAttributes, invoke, setAttribute, setAttributes
 
Methods inherited from interface javax.management.MBeanRegistration
postDeregister, postRegister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Field Detail

CACHING_STUB_SVUID

public static final long CACHING_STUB_SVUID
Method Detail

getMonitoredMBeanType

public java.lang.String getMonitoredMBeanType()
Defines the type of the MBean to monitor.

Legal Value: (value != null) && (value.trim().length() > 0)
Returns:
The monitoredMBeanType value

setMonitoredMBeanType

public void setMonitoredMBeanType(java.lang.String mbeantype)
                           throws javax.management.InvalidAttributeValueException,
                                  ConfigurationException
Sets the monitoredMBeanType attribute of the SNMPJMXMonitorMBean object

Legal Values: SNMPConstants.CONFIGMBEANS, SNMPConstants.RUNTIMEMBEANS
Parameters:
mbeantype - The new monitoredMBeanType value
Throws:
javax.management.InvalidAttributeValueException -  
ConfigurationException -  

getMonitoredMBeanName

public java.lang.String getMonitoredMBeanName()
Defines the name of the MBean to monitor.

Legal Value: (value != null) && (value.trim().length() > 0)
Returns:
The monitoredMBeanName value

setMonitoredMBeanName

public void setMonitoredMBeanName(java.lang.String mbeanname)
                           throws javax.management.InvalidAttributeValueException,
                                  ConfigurationException
Sets the monitoredMBeanName attribute of the SNMPJMXMonitorMBean object

Parameters:
mbeanname - The new monitoredMBeanName value
Throws:
javax.management.InvalidAttributeValueException -  
ConfigurationException -  

getMonitoredAttributeName

public java.lang.String getMonitoredAttributeName()
Defines the name of an attribute to monitor.

Legal Value: (value != null) && (value.trim().length() > 0)
Returns:
The monitoredAttributeName value

setMonitoredAttributeName

public void setMonitoredAttributeName(java.lang.String attributeName)
                               throws javax.management.InvalidAttributeValueException,
                                      ConfigurationException
Sets the monitoredAttributeName attribute of the SNMPJMXMonitorMBean object

Parameters:
attributeName - The new monitoredAttributeName value
Throws:
javax.management.InvalidAttributeValueException -  
ConfigurationException -  

getPollingInterval

public int getPollingInterval()
Defines the frequency the agent checks the attribute value.

Default Value: 1
Legal Minimum Value: 1
Legal Maximum Value: 65535
Returns:
The pollingInterval value

setPollingInterval

public void setPollingInterval(int interval)
                        throws javax.management.InvalidAttributeValueException,
                               ConfigurationException
Sets the pollingInterval attribute of the SNMPJMXMonitorMBean object

Parameters:
interval - The new pollingInterval value
Throws:
javax.management.InvalidAttributeValueException -  
ConfigurationException -  

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs81