|
BEA Systems, Inc. | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
MBeanHome
interface.)This MBean describes all the destinations to which SNMP traps can be sent.
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.
Field Summary |
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
String |
getCommunity()
The password (community name) that WebLogic Server sends to the SNMP manager. |
String |
getHost()
The DNS name or IP address of the computer on which the SNMP manager is running. |
int |
getPort()
The port on which the SNMP manager is listening. |
void |
setCommunity(String community)
Sets the value of the Community attribute. |
void |
setHost(String name)
Sets the value of the Host attribute. |
void |
setPort(int port)
Sets the value of the Port 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 |
public String getCommunity()
The password (community name) that WebLogic Server sends to the SNMP manager.
Note that there are two community names that are needed when WebLogic Server interacts with an SNMP manager:
The community name that the SNMP manager defines. The community name that you enter in this trap destination must match the name that the SNMP manager defines. The WebLogic SNMP agent sends this name when connecting to the manager.
The name that you specify in the WebLogic SNMP agent's Community Prefix. All SNMP managers must send this name when connecting to the WebLogic SNMP agent.
public String getHost()
The DNS name or IP address of the computer on which the SNMP manager is running.
The WebLogic SNMP agent sends trap notifications to the host and port that you specify on this tab.
public int getPort()
The port on which the SNMP manager is listening.
public void setCommunity(String community) throws InvalidAttributeValueException, ConfigurationException
Sets the value of the Community attribute.
community
- The new community value
InvalidAttributeValueException
ConfigurationException
getCommunity()
public void setHost(String name) throws InvalidAttributeValueException, ConfigurationException
Sets the value of the Host attribute.
name
- The new host value
InvalidAttributeValueException
ConfigurationException
getHost()
public void setPort(int port) throws InvalidAttributeValueException, ConfigurationException
Sets the value of the Port attribute.
port
- The new port value
InvalidAttributeValueException
ConfigurationException
getPort()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs90 Copyright 2005 BEA Systems Inc. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |