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 WLDFSMTPNotificationBean

All Superinterfaces:
WLDFBean, WLDFNotificationBean

public interface WLDFSMTPNotificationBean
extends WLDFNotificationBean

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

Method Summary
abstract  void addRecipient(String recipient)
          Adds a recipient to the list of e-mail addresses that will receive this action.
abstract  String getBody()
          The body for the mail message.
abstract  String getMailSessionJNDIName()
          The JNDI name of the mail session.
abstract  String[] getRecipients()
          The address of the recipient or recipients of the SMTP action mail.
abstract  String getSubject()
          The subject for the mail message.
abstract  void removeRecipient(String recipient)
          Removes a recipient from the list of e-mail addresses that will receive this action.
abstract  void setBody(String body)
          Sets the value of the Body attribute.
abstract  void setMailSessionJNDIName(String mailSessionJNDIName)
          Sets the value of the MailSessionJNDIName attribute.
abstract  void setRecipients(String[] recipients)
          Sets the value of the Recipients attribute.
abstract  void setSubject(String subject)
          Sets the value of the Subject attribute.

 

Methods inherited from interface weblogic.diagnostics.descriptor.WLDFNotificationBean
getTimeout, isEnabled, setEnabled, setTimeout

 

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

 

Method Detail

getMailSessionJNDIName

String getMailSessionJNDIName()

The JNDI name of the mail session. This name must match the attribute in the corresponding MailSessionMBean.

Returns:
the JNDI name of the mail session

setMailSessionJNDIName

void setMailSessionJNDIName(String mailSessionJNDIName)

Sets the value of the MailSessionJNDIName attribute.

Parameters:
mailSessionJNDIName - the JNDI name of the mail session
See Also:
WLDFSMTPNotificationBean.getMailSessionJNDIName()

getSubject

String getSubject()

The subject for the mail message. If the subject is not specified, a subject is created from the action information.

Returns:
the subject for the mail message

setSubject

void setSubject(String subject)

Sets the value of the Subject attribute.

Parameters:
subject - the subject for the mail message
See Also:
WLDFSMTPNotificationBean.getSubject()

getBody

String getBody()

The body for the mail message. If the body is not specified, a body is created from the action information.

Returns:
the body for the mail message

setBody

void setBody(String body)

Sets the value of the Body attribute.

Parameters:
body - the body for the mail message
See Also:
WLDFSMTPNotificationBean.getBody()

getRecipients

String[] getRecipients()

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.

Returns:
the recipient of the SMTP action

setRecipients

void setRecipients(String[] recipients)

Sets the value of the Recipients attribute.

Parameters:
recipients -
See Also:
WLDFSMTPNotificationBean.getRecipients()

addRecipient

void addRecipient(String recipient)

Adds a recipient to the list of e-mail addresses that will receive this action.

Parameters:
recipient -

removeRecipient

void removeRecipient(String recipient)

Removes a recipient from the list of e-mail addresses that will receive this action.

Parameters:
recipient -

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