BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.management.configuration
Interface SNMPTrapDestinationMBean


public interface SNMPTrapDestinationMBean
extends ConfigurationMBean

This MBean describes all the destinations to which SNMP traps can be sent.

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

Method Summary
 java.lang.String getCommunity()
          Trap Community name which is used when sending trap to to this destination.
 java.lang.String getHost()
          The host name of this trap destination.
 int getPort()
          The port number of this trap destination.
 void setCommunity(java.lang.String community)
           
 void setHost(java.lang.String name)
           
 void setPort(int port)
           
 
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean
getNotes, 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, preDeregister, preRegister
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

getHost

public java.lang.String getHost()
The host name of this trap destination.

Default Value: localhost
Legal Value: (value != null) && (value.trim().length() > 0)

setHost

public void setHost(java.lang.String name)
             throws javax.management.InvalidAttributeValueException,
                    ConfigurationException


getPort

public int getPort()
The port number of this trap destination.

Default Value: 162
Legal Minimum Value: 1
Legal Maximum Value: 65535

setPort

public void setPort(int port)
             throws javax.management.InvalidAttributeValueException,
                    ConfigurationException


getCommunity

public java.lang.String getCommunity()
Trap Community name which is used when sending trap to to this destination.

Default Value: "public"
Legal Value: (value != null) && (value.trim().length() > 0)

setCommunity

public void setCommunity(java.lang.String community)
                  throws javax.management.InvalidAttributeValueException,
                         ConfigurationException


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

WebLogic classes and methods that do not appear in this reference are not public and are not supported.