|
Oracle Fusion Middleware Oracle WebLogic Server MBean Javadoc 11g Release 1 (10.3.3) Part Number E13945-03 |
||||||||||
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()
This attribute is applicable only when the SNMP Agent is running on the Admin Server of a WebLogic Domain. |
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()
This attribute is applicable only when the SNMP Agent is running on the Admin Server of a WebLogic Domain. The EnabledServers attribute allows the users to limit the scope of the monitored data sources to the specific named Servers. The EnabledServers list is ignored when the SNMAgentDeploymentMBean is targeted to a Managed Server. In the case of a Managed Server the SNMP Agent only looks at the data available in the WebLogic Server where the SNMP Agent is deployed.
For traps based on MBean attributes the SNMP Agent refers to the Domain Runtime MBean Server when it is running on the Admin Server and the Runtime MBean Server when it is deployed to a Managed Server.
In the case of SNMPJMXMonitorMBean
and
SNMPAttributeChangeMBean
the
MonitoredMBeanType
and MonitoredMBeanName
attributes specify the type and name of a WebLogic Server MBean for which the
trap will be setup. MBeans that meet the Type and Name criteria are
qualified to set the trap on. The EnabledServers attribute allows a user
to specify additional criteria based on the Location of an MBean
when the SNMP Agent is targeted to the Admin Server.
MBeans whose Location matches one of the Servers in the EnabledServers
list are considered eligible for the trap to be generated for a
corresponding JMX notification. When the EnabledServers attribute is
not specified all MBeans whose Type and Name match
are considered as valid sources for the SNMP trap.
In the case of SNMPLogFilterMBean
the EnabledServers
attribute allows a user to specify the Servers in the Domain
whose log messages will be monitored when the Agent is running on the
Admin Server. When EnabledServers is not specified for an Agent running
on the Admin Server log messages on all Managed Servers in the
domain are monitored for sending traps.
This attribute is not applicable when the SNMP Agent is targeted to a
Managed Server, in this case the traps are sent based on log messages
generated by the respective Managed Server where the Agent is deployed.
SNMPJMXMonitorMBean
,
SNMPAttributeChangeMBean
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
|
Copyright 1996, 2010, 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 MBean Javadoc 11g Release 1 (10.3.3) Part Number E13945-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |