Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.diagnostics.descriptor
Interface WLDFWatchNotificationBean

All Superinterfaces:
WLDFBean

public interface WLDFWatchNotificationBean
extends WLDFBean

Configures and controls the WebLogic Diagnostic Framework (WLDF) policy and action component; creates and deletes policy definitions; and defines the rules that apply to specific policies.

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

Method Summary
abstract  WLDFActionBean createAction(String name, String type)
          Creates an action bean with the specified name.
abstract  WLDFImageNotificationBean createImageNotification(String name)
          Creates an Image action configuration with the specified name.
abstract  WLDFJMSNotificationBean createJMSNotification(String name)
          Creates an JMS action configuration with the specified name.
abstract  WLDFJMXNotificationBean createJMXNotification(String name)
          Creates an JMX notification configuration with the specified name.
abstract  WLDFLogActionBean createLogAction(String name)
          Creates an Log action configuration with the specified name.
abstract  WLDFRESTNotificationBean createRESTNotification(String name)
          Creates an REST action configuration with the specified name.
abstract  WLDFScaleDownActionBean createScaleDownAction(String name)
          Creates a scale-down action configuration with the specified name.
abstract  WLDFScaleUpActionBean createScaleUpAction(String name)
          Creates a scale-up action configuration with the specified name.
abstract  WLDFScriptActionBean createScriptAction(String name)
          Creates an Script action configuration with the specified name.
abstract  WLDFSMTPNotificationBean createSMTPNotification(String name)
          Creates an SMTP action configuration with the specified name.
abstract  WLDFSNMPNotificationBean createSNMPNotification(String name)
          Creates an SNMP action configuration with the specified name.
abstract  WLDFWatchBean createWatch(String name)
          Creates a policy configuration with the given name.
abstract  void destroyAction(WLDFActionBean action)
          Deletes the specified action configuration defined in this deployment.
abstract  void destroyImageNotification(WLDFImageNotificationBean notification)
          Deletes the specified Image action configuration defined in this deployment.
abstract  void destroyJMSNotification(WLDFJMSNotificationBean notification)
          Deletes the specified JMS action configuration defined in this deployment.
abstract  void destroyJMXNotification(WLDFJMXNotificationBean notification)
          Deletes the specified JMX notification configuration defined in this deployment.
abstract  void destroyLogAction(WLDFLogActionBean action)
          Deletes the specified Log action configuration defined in this deployment.
abstract  void destroyRESTNotification(WLDFRESTNotificationBean notification)
          Deletes the specified REST action configuration defined in this deployment.
abstract  void destroyScaleDownAction(WLDFScaleDownActionBean notification)
          Deletes the specified Scale-down action configuration defined in this deployment.
abstract  void destroyScaleUpAction(WLDFScaleUpActionBean notification)
          Deletes the specified Scale-up action configuration defined in this deployment.
abstract  void destroyScriptAction(WLDFScriptActionBean notification)
          Deletes the specified Script action configuration defined in this deployment.
abstract  void destroySMTPNotification(WLDFSMTPNotificationBean notification)
          Deletes the specified SMTP action configuration defined in this deployment.
abstract  void destroySNMPNotification(WLDFSNMPNotificationBean notification)
          Deletes the specified SNMP action configuration defined in this deployment.
abstract  void destroyWatch(WLDFWatchBean watch)
          Deletes the specified policy configuration defined in this deployment.
abstract  WLDFActionBean[] getActions()
          The actions defined in this deployment.
abstract  WLDFImageNotificationBean[] getImageNotifications()
          The Image actions defined in this deployment.
abstract  WLDFJMSNotificationBean[] getJMSNotifications()
          The JMS actions defined in this deployment.
abstract  WLDFJMXNotificationBean[] getJMXNotifications()
          The JMX notification actions defined in this deployment.
abstract  WLDFLogActionBean[] getLogActions()
          The Log actions defined in this deployment.
abstract  String getLogWatchSeverity()
          The threshold severity level of log messages evaluated by log policies.
abstract  WLDFNotificationBean[] getNotifications()
          The actions defined in this deployment.
abstract  WLDFRESTNotificationBean[] getRESTNotifications()
          The REST actions defined in this deployment.
abstract  WLDFScaleDownActionBean[] getScaleDownActions()
          The Scale-down actions defined in this deployment.
abstract  WLDFScaleUpActionBean[] getScaleUpActions()
          The Scale-Up actions defined in this deployment.
abstract  WLDFScriptActionBean[] getScriptActions()
          The Script actions defined in this deployment.
abstract  String getSeverity()
          The default action severity level for all policies.
abstract  WLDFSMTPNotificationBean[] getSMTPNotifications()
          The SMTP actions defined in this deployment.
abstract  WLDFSNMPNotificationBean[] getSNMPNotifications()
          The SNMP actions defined in this deployment.
abstract  WLDFWatchBean[] getWatches()
          The policies defined in this deployment.
abstract  boolean isEnabled()
          Specifies whether the policy and action component is enabled.
abstract  WLDFActionBean lookupAction(String name)
          Looks up an action with the given name.
abstract  WLDFActionBean[] lookupActions(String typeName)
           
abstract  WLDFImageNotificationBean lookupImageNotification(String name)
          Looks up the Image action configuration with the specified name.
abstract  WLDFJMSNotificationBean lookupJMSNotification(String name)
          Looks up the JMS action configuration with the given name.
abstract  WLDFJMXNotificationBean lookupJMXNotification(String name)
          Looks up the JMX notification action configuration with the specified name.
abstract  WLDFLogActionBean lookupLogAction(String name)
          Looks up the Log action configuration with the given name.
abstract  WLDFNotificationBean lookupNotification(String name)
          Looks up an action with the given name.
abstract  WLDFRESTNotificationBean lookupRESTNotification(String name)
          Looks up the REST action configuration with the given name.
abstract  WLDFScaleDownActionBean lookupScaleDownAction(String name)
          Looks up the Scale-down action configuration with the given name.
abstract  WLDFScaleUpActionBean lookupScaleUpAction(String name)
          Looks up the Scale-up action configuration with the given name.
abstract  WLDFScriptActionBean lookupScriptAction(String name)
          Looks up the Script action configuration with the given name.
abstract  WLDFSMTPNotificationBean lookupSMTPNotification(String name)
          Looks up the SMTP action configuration with the specified name.
abstract  WLDFSNMPNotificationBean lookupSNMPNotification(String name)
          Looks up the SNMP action configuration with the given name.
abstract  WLDFWatchBean lookupWatch(String name)
          Looks up a policy configuration with the given name.
abstract  void setEnabled(boolean enabled)
          Sets the value of the Enabled attribute.
abstract  void setLogWatchSeverity(String severity)
          Sets the value of the LogWatchSeverity attribute.
abstract  void setSeverity(String severity)
          Sets the value of the Severity attribute.

 

Methods inherited from interface weblogic.diagnostics.descriptor.WLDFBean
getId, getName

 

Method Detail

isEnabled

boolean isEnabled()

Specifies whether the policy and action component is enabled.

If true (the default), all configured policies are activated, incoming data or events are evaluated against the policies, and actions are generated when policy conditions are met. If false, all policies are rendered inactive.


setEnabled

void setEnabled(boolean enabled)

Sets the value of the Enabled attribute.

Parameters:
enabled - The enabled state of the WatchNotification component.
See Also:
WLDFWatchNotificationBean.isEnabled()

getSeverity

String getSeverity()

The default action severity level for all policies. When a policy triggers, the severity level is delivered with the action.

The severity levels are the same levels used by the logging framework and the Severities class. If no level is specified, the default value is Notice.

Returns:
the default severity for notifications sent when this watch evaluates to true

setSeverity

void setSeverity(String severity)

Sets the value of the Severity attribute.

Parameters:
severity - the default severity of the notifications fired when this watch evaluates to true
See Also:
WLDFWatchNotificationBean.getSeverity()

getLogWatchSeverity

String getLogWatchSeverity()

The threshold severity level of log messages evaluated by log policies. Messages with a lower severity than this value will be ignored and not evaluated against the policies.

Do not confuse LogWatchSeverity with Severity. LogWatchSeverity filters which log messages will be evaluated; Severity sets the default severity level for an action.

Returns:
the threshold severity level of log messages evaluated by log watch rules

setLogWatchSeverity

void setLogWatchSeverity(String severity)

Sets the value of the LogWatchSeverity attribute.

Parameters:
severity - the threshold severity level of log messages evaluated by log watch rules
See Also:
WLDFWatchNotificationBean.getLogWatchSeverity()

getWatches

WLDFWatchBean[] getWatches()

The policies defined in this deployment.

Returns:
the watches defined in this deployment

createWatch

WLDFWatchBean createWatch(String name)

Creates a policy configuration with the given name.

Parameters:
name - the name of the watch configuration
Returns:
A watch configuration with the given name

destroyWatch

void destroyWatch(WLDFWatchBean watch)

Deletes the specified policy configuration defined in this deployment.

Parameters:
watch - the watch configuration defined in this deployment

getNotifications

WLDFNotificationBean[] getNotifications()

The actions defined in this deployment.

Returns:
the notifications defined in this deployment

lookupNotification

WLDFNotificationBean lookupNotification(String name)

Looks up an action with the given name.

Parameters:
name -
Returns:
A notification with the given name

createAction

WLDFActionBean createAction(String name,
                            String type)

Creates an action bean with the specified name.

Parameters:
name - The instance name for the action being created
type - The action type
Returns:
the action created for this deployment

destroyAction

void destroyAction(WLDFActionBean action)

Deletes the specified action configuration defined in this deployment.

Parameters:
notification - the action configuration defined in this deployment

getActions

WLDFActionBean[] getActions()

The actions defined in this deployment.

Returns:
the notifications defined in this deployment

lookupAction

WLDFActionBean lookupAction(String name)

Looks up an action with the given name.

Parameters:
name -
Returns:
A notification with the given name

lookupActions

WLDFActionBean[] lookupActions(String typeName)
Parameters:
typeName -
Returns:

getImageNotifications

WLDFImageNotificationBean[] getImageNotifications()

The Image actions defined in this deployment.

Returns:
the Image notifications defined in this deployment

createImageNotification

WLDFImageNotificationBean createImageNotification(String name)

Creates an Image action configuration with the specified name.

Parameters:
name - the name of the Image notification being created
Returns:
the Image notification created for this deployment

destroyImageNotification

void destroyImageNotification(WLDFImageNotificationBean notification)

Deletes the specified Image action configuration defined in this deployment.

Parameters:
notification - the Image notification configuration defined in this deployment

lookupImageNotification

WLDFImageNotificationBean lookupImageNotification(String name)

Looks up the Image action configuration with the specified name.

Parameters:
name - the name of the Image notification being requested
Returns:
the Image notification located for this name

getJMSNotifications

WLDFJMSNotificationBean[] getJMSNotifications()

The JMS actions defined in this deployment.

Returns:
the JMS notifications defined in this deployment

createJMSNotification

WLDFJMSNotificationBean createJMSNotification(String name)

Creates an JMS action configuration with the specified name.

Parameters:
name - the name of the JMS notification being created
Returns:
the JMS notification created for this deployment

destroyJMSNotification

void destroyJMSNotification(WLDFJMSNotificationBean notification)

Deletes the specified JMS action configuration defined in this deployment.

Parameters:
notification - the JMS notification configuration defined in this deployment

lookupJMSNotification

WLDFJMSNotificationBean lookupJMSNotification(String name)

Looks up the JMS action configuration with the given name.

Parameters:
name - the name of the JMS notification being requested
Returns:
the JMS notification located for this name

getLogActions

WLDFLogActionBean[] getLogActions()

The Log actions defined in this deployment.

Returns:
the Log notifications defined in this deployment

createLogAction

WLDFLogActionBean createLogAction(String name)

Creates an Log action configuration with the specified name.

Parameters:
name - the name of the Log action being created
Returns:
the Log action created for this deployment

destroyLogAction

void destroyLogAction(WLDFLogActionBean action)

Deletes the specified Log action configuration defined in this deployment.

Parameters:
notification - the Log action configuration defined in this deployment

lookupLogAction

WLDFLogActionBean lookupLogAction(String name)

Looks up the Log action configuration with the given name.

Parameters:
name - the name of the Log action being requested
Returns:
the Log action located for this name

getJMXNotifications

WLDFJMXNotificationBean[] getJMXNotifications()

The JMX notification actions defined in this deployment.

Returns:
the JMX notifications defined in this deployment

createJMXNotification

WLDFJMXNotificationBean createJMXNotification(String name)

Creates an JMX notification configuration with the specified name.

Parameters:
name - the name of the JMX notification being created
Returns:
the JMX notification created for this deployment

destroyJMXNotification

void destroyJMXNotification(WLDFJMXNotificationBean notification)

Deletes the specified JMX notification configuration defined in this deployment.

Parameters:
notification - the JMX notification configuration defined in this deployment

lookupJMXNotification

WLDFJMXNotificationBean lookupJMXNotification(String name)

Looks up the JMX notification action configuration with the specified name.

Parameters:
name - the name of the JMX notification being requested
Returns:
the JMX notification located for this name

getSMTPNotifications

WLDFSMTPNotificationBean[] getSMTPNotifications()

The SMTP actions defined in this deployment.

Returns:
the SMTP notifications defined in this deployment

createSMTPNotification

WLDFSMTPNotificationBean createSMTPNotification(String name)

Creates an SMTP action configuration with the specified name.

Parameters:
name - the name of the SMTP notification being created
Returns:
the SMTP notification created for this deployment

destroySMTPNotification

void destroySMTPNotification(WLDFSMTPNotificationBean notification)

Deletes the specified SMTP action configuration defined in this deployment.

Parameters:
notification - the SMTP notification configuration defined in this deployment

lookupSMTPNotification

WLDFSMTPNotificationBean lookupSMTPNotification(String name)

Looks up the SMTP action configuration with the specified name.

Parameters:
name - the name of the SMTP notification being requested
Returns:
the SMTP notification located for this name

getSNMPNotifications

WLDFSNMPNotificationBean[] getSNMPNotifications()

The SNMP actions defined in this deployment.

Returns:
the SNMP notifications defined in this deployment

createSNMPNotification

WLDFSNMPNotificationBean createSNMPNotification(String name)

Creates an SNMP action configuration with the specified name.

Parameters:
name - the name of the SNMP notification being created
Returns:
the SNMP notification created for this deployment

destroySNMPNotification

void destroySNMPNotification(WLDFSNMPNotificationBean notification)

Deletes the specified SNMP action configuration defined in this deployment.

Parameters:
notification - the SNMP notification configuration defined in this deployment

lookupSNMPNotification

WLDFSNMPNotificationBean lookupSNMPNotification(String name)

Looks up the SNMP action configuration with the given name.

Parameters:
name - the name of the SNMP notification being requested
Returns:
the SNMP notification located for this name

getRESTNotifications

WLDFRESTNotificationBean[] getRESTNotifications()

The REST actions defined in this deployment.

Returns:
the REST notifications defined in this deployment

createRESTNotification

WLDFRESTNotificationBean createRESTNotification(String name)

Creates an REST action configuration with the specified name.

Parameters:
name - the name of the REST notification being created
Returns:
the REST notification created for this deployment

destroyRESTNotification

void destroyRESTNotification(WLDFRESTNotificationBean notification)

Deletes the specified REST action configuration defined in this deployment.

Parameters:
notification - the REST notification configuration defined in this deployment

lookupRESTNotification

WLDFRESTNotificationBean lookupRESTNotification(String name)

Looks up the REST action configuration with the given name.

Parameters:
name - the name of the REST notification being requested
Returns:
the REST notification located for this name

getScaleUpActions

WLDFScaleUpActionBean[] getScaleUpActions()

The Scale-Up actions defined in this deployment.

Returns:
the Scale-up actions defined in this deployment

createScaleUpAction

WLDFScaleUpActionBean createScaleUpAction(String name)

Creates a scale-up action configuration with the specified name.

Parameters:
name - the name of the Scale-up action being created
Returns:
the Scale-up action created for this deployment

destroyScaleUpAction

void destroyScaleUpAction(WLDFScaleUpActionBean notification)

Deletes the specified Scale-up action configuration defined in this deployment.

Parameters:
notification - the Scale-up action configuration defined in this deployment

lookupScaleDownAction

WLDFScaleDownActionBean lookupScaleDownAction(String name)

Looks up the Scale-down action configuration with the given name.

Parameters:
name - the name of the Scale-down action being requested
Returns:
the Scale-down action located for this name

getScaleDownActions

WLDFScaleDownActionBean[] getScaleDownActions()

The Scale-down actions defined in this deployment.

Returns:
the Scale-down actions defined in this deployment

createScaleDownAction

WLDFScaleDownActionBean createScaleDownAction(String name)

Creates a scale-down action configuration with the specified name.

Parameters:
name - the name of the Scale-down action being created
Returns:
the Scale-down action created for this deployment

destroyScaleDownAction

void destroyScaleDownAction(WLDFScaleDownActionBean notification)

Deletes the specified Scale-down action configuration defined in this deployment.

Parameters:
notification - the Scale-down action configuration defined in this deployment

lookupScaleUpAction

WLDFScaleUpActionBean lookupScaleUpAction(String name)

Looks up the Scale-up action configuration with the given name.

Parameters:
name - the name of the Scaling action being requested
Returns:
the Scaling action located for this name

getScriptActions

WLDFScriptActionBean[] getScriptActions()

The Script actions defined in this deployment.

Returns:
the Script actions defined in this deployment

createScriptAction

WLDFScriptActionBean createScriptAction(String name)

Creates an Script action configuration with the specified name.

Parameters:
name - the name of the Script action being created
Returns:
the Script action created for this deployment

destroyScriptAction

void destroyScriptAction(WLDFScriptActionBean notification)

Deletes the specified Script action configuration defined in this deployment.

Parameters:
notification - the Script action configuration defined in this deployment

lookupScriptAction

WLDFScriptActionBean lookupScriptAction(String name)

Looks up the Script action configuration with the given name.

Parameters:
name - the name of the Script action being requested
Returns:
the Script action located for this name

lookupWatch

WLDFWatchBean lookupWatch(String name)

Looks up a policy configuration with the given name.

Parameters:
name - the name of the policy being requested
Returns:
the policy configuration located for this name

Skip navigation links

Copyright 1996, 2015, 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
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09