BEA Systems, Inc.

Type-Safe Access to BEA WebLogic Server 9.0 MBeans (Deprecated)

(Methods marked with @since 9.0.0.0 are not available through the deprecated MBeanHome interface.)


weblogic.management.configuration
Interface SNMPTrapSourceMBean

All Superinterfaces:
ConfigurationMBean, weblogic.descriptor.DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.descriptor.SettableBean, weblogic.management.WebLogicMBean
All Known Subinterfaces:
SNMPAttributeChangeMBean, SNMPCounterMonitorMBean, SNMPGaugeMonitorMBean, SNMPJMXMonitorMBean, SNMPLogFilterMBean, SNMPStringMonitorMBean

public interface SNMPTrapSourceMBean
extends ConfigurationMBean

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

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" on http://www.oracle.com/technology/documentation/index.html.

Copyright © 2005 BEA Systems, Inc. All Rights Reserved.

Field Summary
 
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
DEFAULT_EMPTY_BYTE_ARRAY
 
Method Summary
 boolean addEnabledServer(ServerMBean server)
          Adds a feature to the EnabledServer attribute of the SNMPTrapSourceMBean object
 ServerMBean[] getEnabledServers()
          The list of target servers for trap generation.
 boolean removeEnabledServer(ServerMBean server)
           
 void setEnabledServers(ServerMBean[] serversEnabled)
          Sets the value of the EnabledServers attribute.
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
freezeCurrentValue, getName, getNotes, 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
addBeanUpdateListener, addPropertyChangeListener, createChildCopy, createChildCopyIncludingObsolete, getDescriptor, getParentBean, isEditable, removeBeanUpdateListener, removePropertyChangeListener
 

Method Detail

addEnabledServer

public boolean addEnabledServer(ServerMBean server)
                         throws 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:
Throws:
InvalidAttributeValueException
ConfigurationException

getEnabledServers

public ServerMBean[] getEnabledServers()

The list of target servers for trap generation. If no server is specified, no trap will be generated.

Returns:
The enabledServers value

removeEnabledServer

public boolean removeEnabledServer(ServerMBean server)
                            throws InvalidAttributeValueException,
                                   ConfigurationException
Parameters:
server -
Returns:
Throws:
InvalidAttributeValueException
ConfigurationException

setEnabledServers

public void setEnabledServers(ServerMBean[] serversEnabled)
                       throws InvalidAttributeValueException,
                              ConfigurationException

Sets the value of the EnabledServers attribute.

Parameters:
serversEnabled - The new enabledServers value
Throws:
InvalidAttributeValueException
ConfigurationException
See Also:
getEnabledServers()

Documentation is available at
http://download.oracle.com/docs/cd/E13222_01/wls/docs90
Copyright 2005 BEA Systems Inc.