public class NotificationManager
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NOTIFY_ASYNC |
static java.lang.String |
NOTIFY_SYNC |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
getNotifyMode()
Returns the current notification mode.
|
static void |
notify(java.lang.String notificationCategory,
java.lang.Object context)
Notifies the correct recipients with the correct message content and
format based on the passed notification category and situational context.
|
static void |
notify(java.lang.String notificationCategory,
java.lang.Object context,
boolean asynch)
Notifies the correct recipients with the correct message content and
format based on the passed notification category and situational context.
|
public static final java.lang.String NOTIFY_SYNC
public static final java.lang.String NOTIFY_ASYNC
public static final void notify(java.lang.String notificationCategory,
java.lang.Object context)
notificationCategory - The category of notification to send.context - The context of the situation triggering the notification.public static final void notify(java.lang.String notificationCategory,
java.lang.Object context,
boolean asynch)
throws java.lang.Exception
notificationCategory - The category of notification to send.context - The context of the situation triggering the notification.asynch - true indicates allow asynch mail processing. false
forces synchronus mail processing to occurjava.lang.Exceptionpublic static final java.lang.String getNotifyMode()