com.iver.andami.messages
Class NotificationManager

java.lang.Object
  extended bycom.iver.andami.messages.NotificationManager

public class NotificationManager
extends java.lang.Object

Clase que recibe los mensajes de error, warning e información y dispara los eventos en los listeners que escuchan dichos eventos

Version:
$Revision: 1935 $

Constructor Summary
NotificationManager()
           
 
Method Summary
static void addError(java.lang.String err, java.lang.Throwable e)
           
static void addInfo(java.lang.String inf, java.lang.Throwable e)
           
static void addNotificationListener(NotificationListener nl)
          Añade un objeto que escucha los mensajes de error, warning e información
static void addWarning(java.lang.String warn, java.lang.Throwable e)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationManager

public NotificationManager()
Method Detail

addNotificationListener

public static void addNotificationListener(NotificationListener nl)
Añade un objeto que escucha los mensajes de error, warning e información

Parameters:
nl - objeto que recibirá los eventos

addError

public static void addError(java.lang.String err,
                            java.lang.Throwable e)
See Also:
com.iver.mdiApp.Notification#addError(java.lang.String)

addWarning

public static void addWarning(java.lang.String warn,
                              java.lang.Throwable e)
See Also:
com.iver.mdiApp.Notification#addWarning(java.lang.String)

addInfo

public static void addInfo(java.lang.String inf,
                           java.lang.Throwable e)
See Also:
com.iver.mdiApp.Consola#addInfo(java.lang.String)