BEA Systems, Inc.

WebLogic Server 6.1 API Reference

weblogic.management.configuration
Interface SNMPProxyMBean


public interface SNMPProxyMBean
extends ConfigurationMBean

The MBean representing the SNMP agents to be proxied by the current one.

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

Method Summary
 java.lang.String getCommunity()
          SNMP community to be passed on for all requests to the proxied agent.
 java.lang.String getOidRoot()
          The root oid on which the proxied agent will be responding.
 int getPort()
          The port on which the proxied agent will be listen for SNMP requests.
 long getTimeout()
          An interval, in milliseconds, at which the requests made to the proxied agent would timed out.
 void setCommunity(java.lang.String community)
           
 void setOidRoot(java.lang.String oid)
           
 void setPort(int port)
           
 void setTimeout(long timeout)
           
 
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

getPort

public int getPort()
The port on which the proxied agent will be listen for SNMP requests. This is mandatory.

Legal Minimum Value: 0
Legal Maximum Value: 65535

setPort

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


getOidRoot

public java.lang.String getOidRoot()
The root oid on which the proxied agent will be responding. This is mandatory.

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

setOidRoot

public void setOidRoot(java.lang.String oid)
                throws javax.management.InvalidAttributeValueException,
                       ConfigurationException


getCommunity

public java.lang.String getCommunity()
SNMP community to be passed on for all requests to the proxied agent. By default this is same as the community contained in the incoming SNMP requests to this Master SNMP agent.

This is Optional.

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

setCommunity

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


getTimeout

public long getTimeout()
An interval, in milliseconds, at which the requests made to the proxied agent would timed out.

Default Value: 5000
Legal Minimum Value: 0

setTimeout

public void setTimeout(long timeout)
                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.