| 
 | Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface WLDFSMTPNotificationBean
Use this interface to define a SMTP notification, which is sent
 when a diagnostic watch evaluates to true.
| Method Summary | |
|---|---|
|  void | addRecipient(String recipient)Adds a recipient to the list of e-mail addresses that will receive this notification. | 
|  String | getBody()The body for the mail message. | 
|  String | getMailSessionJNDIName()The JNDI name of the mail session. | 
|  String[] | getRecipients()The address of the recipient or recipients of the SMTP notification mail. | 
|  String | getSubject()The subject for the mail message. | 
|  void | removeRecipient(String recipient)Removes a recipient from the list of e-mail addresses that will receive this notification. | 
|  void | setBody(String body)Sets the value of the Body attribute. | 
|  void | setMailSessionJNDIName(String mailSessionJNDIName)Sets the value of the MailSessionJNDIName attribute. | 
|  void | setRecipients(String[] recipients)Sets the value of the Recipients attribute. | 
|  void | setSubject(String subject)Sets the value of the Subject attribute. | 
| Methods inherited from interface weblogic.diagnostics.descriptor.WLDFNotificationBean | 
|---|
| isEnabled, setEnabled | 
| Methods inherited from interface weblogic.diagnostics.descriptor.WLDFBean | 
|---|
| getId, getName | 
| Method Detail | 
|---|
String getMailSessionJNDIName()
The JNDI name of the mail session. This name must match the attribute in the corresponding MailSessionMBean.
void setMailSessionJNDIName(String mailSessionJNDIName)
Sets the value of the MailSessionJNDIName attribute.
mailSessionJNDIName - the JNDI name of the mail sessionWLDFSMTPNotificationBean.getMailSessionJNDIName()
String getSubject()
The subject for the mail message. If the subject is not specified, a subject is created from the watch notification information.
void setSubject(String subject)
Sets the value of the Subject attribute.
subject - the subject for the mail messageWLDFSMTPNotificationBean.getSubject()String getBody()
The body for the mail message. If the body is not specified, a body is created from the watch notification information.
void setBody(String body)
Sets the value of the Body attribute.
body - the body for the mail messageWLDFSMTPNotificationBean.getBody()String[] getRecipients()
The address of the recipient or recipients of the SMTP
 notification 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.
void setRecipients(String[] recipients)
Sets the value of the Recipients attribute.
recipients - WLDFSMTPNotificationBean.getRecipients()void addRecipient(String recipient)
Adds a recipient to the list of e-mail addresses that will receive this notification.
recipient - void removeRecipient(String recipient)
Removes a recipient from the list of e-mail addresses that will receive this notification.
recipient - | 
 | Copyright 1996, 2014, 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.1.3) Part Number E41849-02 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||