|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.acsinet_solutions.cetia4.service.impl.SimpleMailNotificationManager
public class SimpleMailNotificationManager
A simple notification manager that uses JavaMail to provide its notifications.
| Constructor Summary | |
|---|---|
SimpleMailNotificationManager()
Public constructor |
|
| Method Summary | |
|---|---|
void |
notify(java.lang.String key,
java.util.List addresses,
java.util.Map<java.lang.String,java.lang.Object> params)
Notify a message to the given List of adresses. |
void |
notify(java.lang.String key,
java.util.Map<java.lang.String,java.lang.Object> params)
Notify a message. |
void |
setBccAddress(java.lang.String bccAddress)
Set the BCC address |
void |
setFromAddress(java.lang.String fromAddress)
Set the from address |
void |
setSmtpProvider(java.lang.String smtpProvider)
Set the mail SMTP provider |
void |
setTemplates(java.util.Map map)
Set the templates and subjects for this notification manager. |
void |
setTextFactory(TextFactory textFactory)
Set the associated text factory instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleMailNotificationManager()
| Method Detail |
|---|
public final void setTextFactory(TextFactory textFactory)
public final void setSmtpProvider(java.lang.String smtpProvider)
public final void setFromAddress(java.lang.String fromAddress)
public final void setBccAddress(java.lang.String bccAddress)
public final void setTemplates(java.util.Map map)
public void notify(java.lang.String key,
java.util.Map<java.lang.String,java.lang.Object> params)
throws NotificationException
NotificationManager
notify in interface NotificationManagerkey - The not-null not-emtpy valid message keyparams - The not-null maybe-empty Map instance with
not-null not-empty String keys and not-null values.
NotificationException
public void notify(java.lang.String key,
java.util.List addresses,
java.util.Map<java.lang.String,java.lang.Object> params)
throws NotificationException
NotificationManager
notify in interface NotificationManagerkey - The not-null not-emtpy valid message key.addresses - A not-null maybe-empty List instance of
not-null String instances representing valid addresses for
the notification framework being used.params - The not-null maybe-empty Map instance with
not-null not-empty String keys and not-null values.
NotificationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||