|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.mail.NotificationManager
Generates messages and delivers them based on a category of notification and the context of the situation causing the notification. The creation of the correct message(s) based on this contextual information is provided by NotificationFactories. Different factories can be registered with the NotificationManager for different events through settings in the enRole.properties file.
NotificationFactory
Field Summary | |
---|---|
static java.lang.String |
NOTIFY_ASYNC
|
static java.lang.String |
NOTIFY_SYNC
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String NOTIFY_SYNC
public static final java.lang.String NOTIFY_ASYNC
Method Detail |
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 occur
java.lang.Exception
public static final java.lang.String getNotifyMode()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |