com.acsinet_solutions.cetia4.service.impl
Class DebuggingNotificationManager

java.lang.Object
  extended by com.acsinet_solutions.cetia4.service.impl.DebuggingNotificationManager
All Implemented Interfaces:
NotificationManager

public class DebuggingNotificationManager
extends java.lang.Object
implements NotificationManager

Implementation of a simple debugging notification manager that does not sends e-mails but rather it reports activity to standard output.

Derechos Reservados

Author:
Santiago Arriaga

Constructor Summary
DebuggingNotificationManager()
           
 
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 setTemplates(java.util.Map map)
          Not used.
 void setTextFactory(TextFactory textFactory)
          Set the text factory for the current notification manager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebuggingNotificationManager

public DebuggingNotificationManager()
Method Detail

setTextFactory

public final void setTextFactory(TextFactory textFactory)
Set the text factory for the current notification manager


setTemplates

public final void setTemplates(java.util.Map map)
Not used.


notify

public void notify(java.lang.String key,
                   java.util.Map<java.lang.String,java.lang.Object> params)
            throws NotificationException
Description copied from interface: NotificationManager
Notify a message.

Specified by:
notify in interface NotificationManager
Parameters:
key - The not-null not-emtpy valid message key
params - The not-null maybe-empty Map instance with not-null not-empty String keys and not-null values.
Throws:
NotificationException

notify

public void notify(java.lang.String key,
                   java.util.List addresses,
                   java.util.Map<java.lang.String,java.lang.Object> params)
            throws NotificationException
Description copied from interface: NotificationManager
Notify a message to the given List of adresses.

Specified by:
notify in interface NotificationManager
Parameters:
key - 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.
Throws:
NotificationException