BEA Systems, Inc.

WebLogic Server 8.1 API Reference

weblogic.management.configuration
Interface SNMPTrapSourceMBean

All Known Subinterfaces:
SNMPAttributeChangeMBean, SNMPCounterMonitorMBean, SNMPGaugeMonitorMBean, SNMPJMXMonitorMBean, SNMPLogFilterMBean, SNMPStringMonitorMBean

public interface SNMPTrapSourceMBean
extends ConfigurationMBean

This MBean is the base of SNMP TRAP related config MBeans.

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

Field Summary
static long CACHING_STUB_SVUID
          Description of the Field
 
Fields inherited from class weblogic.management.configuration.ConfigurationMBean
CACHING_STUB_SVUID
 
Method Summary
 boolean addEnabledServer(ServerMBean server)
          Adds a feature to the EnabledServer attribute of the SNMPTrapSourceMBean object
 ServerMBean[] getEnabledServers()
          Defines a list of target servers for trap generation.
 boolean removeEnabledServer(ServerMBean server)
          Description of the Method
 void setEnabledServers(ServerMBean[] serversEnabled)
          Sets the enabledServers attribute of the SNMPTrapSourceMBean object
 
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
Description of the Field
Method Detail

getEnabledServers

public ServerMBean[] getEnabledServers()
Defines a list of target servers for trap generation. If no server is specified, no trap will be generated.

Returns:
The enabledServers value

setEnabledServers

public void setEnabledServers(ServerMBean[] serversEnabled)
                       throws javax.management.InvalidAttributeValueException,
                              ConfigurationException
Sets the enabledServers attribute of the SNMPTrapSourceMBean object

Parameters:
serversEnabled - The new enabledServers value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
ConfigurationException - Description of the Exception

addEnabledServer

public boolean addEnabledServer(ServerMBean server)
                         throws javax.management.InvalidAttributeValueException,
                                ConfigurationException
Adds a feature to the EnabledServer attribute of the SNMPTrapSourceMBean object

Parameters:
server - The feature to be added to the EnabledServer attribute
Returns:
Description of the Return Value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
ConfigurationException - Description of the Exception

removeEnabledServer

public boolean removeEnabledServer(ServerMBean server)
                            throws javax.management.InvalidAttributeValueException,
                                   ConfigurationException
Description of the Method

Parameters:
server - Description of the Parameter
Returns:
Description of the Return Value
Throws:
javax.management.InvalidAttributeValueException - Description of the Exception
ConfigurationException - Description of the Exception

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