code: private void safePostEvent(Event event) {
          EventAdmin ea = eventAdminRef.getService();
          if (ea != null) {
              ea.postEvent(event);
          } else if (tc.isEventEnabled()) {
              Tr.event(tc, "The EventAdmin service is unavailable. Unable to post the Event: " + event);
          }
      }
docs: Null-safe event posting to eventAdminRef.
  
  @param event