Defines policies and actions.
Note: As of WebLogic Server 12.2.1, the terms watch and notification are replaced by policy and action, respectively. However, the definition of these terms has not changed.
Since | 9.0.0.0 | ||
Security roles | The following roles have read, write, and invoke permission for all non-encrypted attributes and operations in this MBean:
|
||
Fully Qualified Interface Name | If 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 | |||
Additional Access Points |
In addition to accessing this MBean by invoking a factory method, you can also access this MBean from the following MBean attributes:
|
This section describes attributes that provide access to other MBeans.
|
The actions enabled for this policy.
Privileges | Read/Write |
Type | WLDFNotificationBean[] |
Relationship type: | Reference. |
Defines the evaluation frequency for Harvester type rules, in seconds.
The default frequency is 5 minutes (300 seconds), minimum is 5 seconds.
For more information, see:
Factory Methods | No explicit creator method. The child shares the lifecycle of its parent. |
Privileges | Read only |
Type | WLDFScheduleBean |
Relationship type: | Containment. |
This section describes the following attributes:
For automatic alarms, the time period, in milliseconds, to wait
after the policy 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 |
Type | int |
Default Value | 60000 |
Minimum value | 1000 |
The alarm type for the policy: 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 |
Type | java.lang.String |
Default Value | None |
Legal Values |
|
Specifies whether this policy is enabled.
Privileges | Read/Write |
Type | boolean |
Default Value | true |
Returns the expression language type used by the policy, either "EL" or "WLDF" (deprecated).
Available Since | Release 12.2.1.0.0 |
Privileges | Read/Write |
Type | java.lang.String |
Return the unique id of this bean instance.
Privileges | Read only |
Type | long |
Redeploy or Restart required | Changes take effect after you redeploy the module or restart the server. |
The name of the WebLogic Diagnostic Framework (WLDF) bean.
Privileges | Read only |
Type | java.lang.String |
The expression used to evaluate the policy.
Privileges | Read/Write |
Type | java.lang.String |
The expression type for the policy:
HARVESTER_RULE_TYPE
refers to harvested data,
LOG_RULE_TYPE
refers to server log entry data,
DOMAIN_LOG_RULE_TYPE
refers to domain log entry data,
and EVENT_DATA_RULE_TYPE
refers to instrumentation
event data. The default type is
HARVESTER_RULE_TYPE
.
For information on policy expressions, see "Using the Diagnostics Framework for Oracle WebLogic Server" at http://docs.oracle.com/middleware/home/index.html.
Privileges | Read/Write |
Type | java.lang.String |
Default Value | Harvester |
Legal Values |
|
The severity level of the actions sent when this policy
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 |
Type | java.lang.String |
Default Value | Notice |
Legal Values |
|
This section describes the following operations:
|
Adds an action to this policy.
Operation Name | "addNotification" |
Parameters | Object [] { action }
where:
|
Signature | String [] {
"weblogic.diagnostics.descriptor.WLDFNotificationBean" } |
Returns |
boolean
|
Removes an action from this policy.
Operation Name | "removeNotification" |
Parameters | Object [] { action }
where:
|
Signature | String [] {
"weblogic.diagnostics.descriptor.WLDFNotificationBean" } |
Returns |
boolean
|