|
Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 MBean API Reference 11g Release 1 (10.3.1) Part Number E13945-01 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SNMPTrapSourceMBean
This MBean is the base of SNMP TRAP related configuration MBeans.
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."
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
boolean |
addEnabledServer(ServerMBean server)
Adds a feature to the EnabledServer attribute of the SNMPTrapSourceMBean object |
ServerMBean[] |
getEnabledServers()
The list of target servers for trap generation. |
boolean |
removeEnabledServer(ServerMBean server)
|
void |
setEnabledServers(ServerMBean[] serversEnabled)
Sets the value of the EnabledServers attribute. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getName, getNotes, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Method Detail |
---|
ServerMBean[] getEnabledServers()
The list of target servers for trap generation. If no server is specified, no trap will be generated.
void setEnabledServers(ServerMBean[] serversEnabled) throws InvalidAttributeValueException, ConfigurationException
Sets the value of the EnabledServers attribute.
serversEnabled
- The new enabledServers value
InvalidAttributeValueException
ConfigurationException
SNMPTrapSourceMBean.getEnabledServers()
boolean addEnabledServer(ServerMBean server) throws InvalidAttributeValueException, ConfigurationException
Adds a feature to the EnabledServer attribute of the SNMPTrapSourceMBean object
server
- The feature to be added to the EnabledServer attribute
InvalidAttributeValueException
ConfigurationException
boolean removeEnabledServer(ServerMBean server) throws InvalidAttributeValueException, ConfigurationException
server
-
InvalidAttributeValueException
ConfigurationException
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111/wls.htm Copyright 1996, 2009, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server 10.3.1 MBean API Reference 11g Release 1 (10.3.1) Part Number E13945-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |