WLDFWatchBean


Overview  |   Related MBeans  |   Attributes  |   Operations

Overview

Defines watches and notifications.

           
Since9.0.0.0
Security rolesThe following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
  • Deployer
Fully Qualified Interface NameIf you use the getMBeanInfo operation in MBeanTypeServiceMBean, supply the following value as this MBean's fully qualified interface name:
weblogic.diagnostics.descriptor.WLDFWatchBean
Factory Methods No factory methods. Instances of this MBean are created automatically.


Related MBeans

This section describes attributes that provide access to other MBeans.


    Notifications

    The notifications enabled for this watch.

           
    Privileges Read/Write
    TypeWLDFNotificationBean[]
    Relationship type: Reference.


    Attributes

    This section describes the following attributes:


    AlarmResetPeriod

    For automatic alarms, the time period, in milliseconds, to wait after the watch evaluates to true before the alarm is automatically reset.

    The default reset period is 60000 milliseconds, which is equivalent to 60 seconds.

           
    Privileges Read/Write
    Typeint
    Default Value60000
    Minimum value1000

    AlarmType

    The alarm type for the watch: manual or automatic. The default alarm type is manual.

    Once a manually set alarm has triggered, it must be reset through the WebLogic Server Administration Console or programmatically before it can trigger again. An automatic reset alarm will reset after the specified time period has elapsed.

           
    Privileges Read/Write
    Typejava.lang.String
    Default ValueNone
    Legal Values
    • None
    • ManualReset
    • AutomaticReset

    Enabled

    Specifies whether this watch is enabled.

           
    Privileges Read/Write
    Typeboolean
    Default Valuetrue

    Name

    The name of the WebLogic Diagnostic Framework (WLDF) bean.

           
    Privileges Read only
    Typejava.lang.String
    Redeploy or Restart required Changes take effect after you redeploy the module or restart the server.

    RuleExpression

    The rule expression used to evaluate the watch.

           
    Privileges Read/Write
    Typejava.lang.String

    RuleType

    The rule-expression type for the watch: HARVESTER_RULE_TYPE refers to harvested data, LOG_RULE_TYPE refers to log entry data, and EVENT_DATA_RULE_TYPE refers to instrumentation event data. The default type is HARVESTER_RULE_TYPE.

    For information on rule expressions, see "Using the Diagnostics Framework for Oracle WebLogic Server" on http://www.oracle.com/technology/index.html.

           
    Privileges Read/Write
    Typejava.lang.String
    Default ValueHarvester
    Legal Values
    • Harvester
    • Log
    • EventData

    Severity

    The severity level of the notifications sent when this watch evaluates to true. When set, this level overrides the default value provided in the parent MBean. However, if no severity level is set (null), the value provided in the parent MBean is returned.

    The severity levels are the same levels used by the logging framework and the Severities class.

           
    Privileges Read/Write
    Typejava.lang.String
    Default ValueNotice
    Legal Values
    • Info
    • Warning
    • Error
    • Notice
    • Critical
    • Alert
    • Emergency


    Operations

    This section describes the following operations:


      addNotification

      Adds a notification to this watch.

         
      Operation Name"addNotification"
      ParametersObject [] {   }

      where:

        SignatureString [] { "weblogic.diagnostics.descriptor.WLDFNotificationBean" }
        Returns boolean

        removeNotification

        Removes a notification from this watch.

           
        Operation Name"removeNotification"
        ParametersObject [] {   }

        where:

          SignatureString [] { "weblogic.diagnostics.descriptor.WLDFNotificationBean" }
          Returns boolean