public void fireEvent(Event event) {

    ViewDefinition subject = event.getViewSubject();

    fireEvent(event, subject.getViewName());
    fireEvent(event, ViewEntity.getViewName(subject.getViewName(), subject.getVersion()));
  }
Notify any registered listeners of the given event.

@param event the event
ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java