private static void registerSTOMPApiListeners(Injector injector,
      EventBus synchronizedBus) {
    synchronizedBus.register(injector.getInstance(ServiceUpdateListener.class));
    synchronizedBus.register(injector.getInstance(UpgradeUpdateListener.class));
  }
Register the normal listeners with the replaced synchronous bus.

@param injector
@param synchronizedBus
ambari-server/src/main/java/org/apache/ambari/server/utils/EventBusSynchronizer.java