code: protected void doPublishEvent(final ApplicationEvent e) {
          if (applicationEventPublisher != null) {
              LOGGER.trace("Publishing [{}]", e);
              this.applicationEventPublisher.publishEvent(e);
          }
      }
docs: Publish CAS events.
  
  @param e the event