public void sendNotification ( NotificationType type , String subject , String message , String ... destinations ) { for ( Notifier notifier : notifiers ) { if ( notifier . getNotificationType ( ) . equals ( type ) ) { notifier . notify ( subject , message , destinations ) ; } } }
Sends a notification through all configured notifiers of a given type .