docs: public void publishEvent(final ApplicationEvent event) {
          if (this.eventPublisher != null) {
              LOGGER.trace("Publishing event [{}]", event);
              this.eventPublisher.publishEvent(event);
          }
      }