Overview | Package | Class | Use | Tree | Deprecated | Index | Help
|  | BEA Systems, Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Type-Safe Access to BEA WebLogic Server 9.1 MBeans (Deprecated)
(Methods marked with @since 9.0.0.0 or later are not available through the deprecated `MBeanHome` interface.)

## weblogic.management.configuration
Interface SNMPProxyMBean

All Superinterfaces:
  ConfigurationMBean, weblogic.descriptor.DescriptorBean, DynamicMBean, MBeanRegistration, NotificationBroadcaster, weblogic.descriptor.SettableBean, weblogic.management.WebLogicMBean

public interface SNMPProxyMBean
extends ConfigurationMBean

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

### 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://edocs.bea.com.

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

Field Summary

Fields inherited from interface weblogic.management.configuration.ConfigurationMBean
`DEFAULT_EMPTY_BYTE_ARRAY`

Method Summary
`String` | `getCommunity()` The community name to be passed on for all requests to the proxied SNMP agent.
`String` | `getOidRoot()` The root of the object identifier (OID) tree that the proxied SNMP agent controls.
`int` | `getPort()` The port number on which the proxied SNMP agent is listening.
`long` | `getTimeout()` The amount of time (in milliseconds) that the SNMP proxy waits for a response to requests that are forwarded to another SNMP agent.
`void` | `setCommunity(String community)` Sets the value of the Community attribute.
`void` | `setOidRoot(String oid)` Sets the value of the OidRoot attribute.
`void` | `setPort(int port)` Sets the value of the Port attribute.
`void` | `setTimeout(long timeout)` Sets the value of the Timeout 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

### getCommunity

    public String getCommunity()

  The community name to be passed on for all requests to the proxied SNMP agent.

  A value of `na` causes WebLogic Server to pass the community name that is contained in incoming SNMP requests.

  Returns:
    The community value
  Default value:
    "na"

### getOidRoot

    public String getOidRoot()

  The root of the object identifier (OID) tree that the proxied SNMP agent controls.

  Returns:
    The oidRoot value

### getPort

    public int getPort()

  The port number on which the proxied SNMP agent is listening.

  Returns:
    The port value
  Minimum value:
    0
  Maximum value:
    65535

### getTimeout

    public long getTimeout()

  The amount of time (in milliseconds) that the SNMP proxy waits for a response to requests that are forwarded to another SNMP agent.

  If the interval elapses without a response, the WebLogic SNMP agent sends an error to the requesting manager.

  Returns:
    The timeout value
  Default value:
    5000
  Minimum value:
    0

### setCommunity

    public void setCommunity(String community)
                      throws InvalidAttributeValueException,
                             ConfigurationException

  Sets the value of the Community attribute.

  Parameters:
    `community` - The new community value
  Throws:
    `InvalidAttributeValueException`
    `ConfigurationException`
  See Also:
    `getCommunity()`

### setOidRoot

    public void setOidRoot(String oid)
                    throws InvalidAttributeValueException,
                           ConfigurationException

  Sets the value of the OidRoot attribute.

  Parameters:
    `oid` - The new oidRoot value
  Throws:
    `InvalidAttributeValueException`
    `ConfigurationException`
  See Also:
    `getOidRoot()`

### setPort

    public void setPort(int port)
                 throws InvalidAttributeValueException,
                        ConfigurationException

  Sets the value of the Port attribute.

  Parameters:
    `port` - The new port value
  Throws:
    `InvalidAttributeValueException`
    `ConfigurationException`
  See Also:
    `getPort()`

### setTimeout

    public void setTimeout(long timeout)
                    throws InvalidAttributeValueException,
                           ConfigurationException

  Sets the value of the Timeout attribute.

  Parameters:
    `timeout` - The new timeout value
  Throws:
    `InvalidAttributeValueException`
    `ConfigurationException`
  See Also:
    `getTimeout()`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Documentation is available at http://e-docs.bea.com/wls/docs91 Copyright 2005 BEA Systems Inc.
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD