public NotificationDispatcher getDispatcher(String type) {
    return m_dispatchers.get(type);
  }
Gets a dispatcher based on the type.

@param type
         the type (not {@code null}).
@return a dispatcher instance, or {@code null} if none.
ambari-server/src/main/java/org/apache/ambari/server/notifications/DispatchFactory.java