Use this interface to define a SMTP action, which is sent when a
diagnostic policy evaluates to true
.
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.WLDFSMTPNotificationBean
|
||
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:
|
||
Access Points Inherited from WLDFNotificationBean |
Because this MBean extends or implements WLDFNotificationBean, you can also access this MBean by retrieving WLDFNotificationBeans. The following attributes contain WLDFNotificationBeans and its subtypes:
|
This section describes the following attributes:
The body for the mail message. If the body is not specified, a body is created from the action information.
Privileges | Read/Write |
Type | java.lang.String |
Specifies whether this action is enabled.
Privileges | Read/Write |
Type | boolean |
Default Value | true |
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 JNDI name of the mail session. This name must match the attribute in the corresponding MailSessionMBean.
Privileges | Read/Write |
Type | java.lang.String |
The name of the WebLogic Diagnostic Framework (WLDF) bean.
Privileges | Read only |
Type | java.lang.String |
The address of the recipient or recipients of the SMTP action
mail. The address uses the syntax defined in RFC822. Typical
address syntax is of the form
user@host.domain
or
Personal Name
. An address can include multiple
recipients, separated by commas or spaces.
For more information, refer to the javax.mail.internet.InternetAddress.parse method.
Privileges | Read/Write |
Type | class java.lang.String[] |
The subject for the mail message. If the subject is not specified, a subject is created from the action information.
Privileges | Read/Write |
Type | java.lang.String |
The length of time, in seconds, that an action has to complete execution. By default, the timeout period is 0, which disables the action timeout.
Available Since | Release 12.2.1.0.0 |
Privileges | Read/Write |
Type | int |
This section describes the following operations:
Adds a recipient to the list of e-mail addresses that will receive this action.
Operation Name | "addRecipient" |
Parameters | Object [] { recipient }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
Return true if the given property has been explicitly set in this bean.
Operation Name | "isSet" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
boolean
|
Exceptions |
|
Removes a recipient from the list of e-mail addresses that will receive this action.
Operation Name | "removeRecipient" |
Parameters | Object [] { recipient }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
Restore the given property to its default value.
Operation Name | "unSet" |
Parameters | Object [] { propertyName }
where:
|
Signature | String [] {
"java.lang.String" } |
Returns |
void
|
Exceptions |
|