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 © 2004 BEA Systems, Inc. All Rights Reserved.
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 |
CACHING_STUB_SVUID
public static final long CACHING_STUB_SVUID
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
- Secure Value: null
- Parameters:
serversEnabled
- The new enabledServers value- Throws:
- javax.management.InvalidAttributeValueException -
- ConfigurationException -
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:
-
- Throws:
- javax.management.InvalidAttributeValueException -
- ConfigurationException -
removeEnabledServer
public boolean removeEnabledServer(ServerMBean server)
throws javax.management.InvalidAttributeValueException,
ConfigurationException
- Parameters:
server
- - Returns:
-
- Throws:
- javax.management.InvalidAttributeValueException -
- ConfigurationException -