code: public void register(ApplicationContext applicationContext) {
      applicationContext
          .getBeansOfType(TransactionExceptionTranslator.class)
          .values()
          .forEach(transactionExceptionTranslatorRegistry::register);
    }
docs: Registers all {@link TransactionExceptionTranslator TransactionExceptionTranslators} in the
  given application context with the {@link TransactionExceptionTranslatorRegistry}.
  
  @param applicationContext application context