docs: public AbstractEndpointBuilder<T> applicationContext(ApplicationContext applicationContext) {
          if (getEndpoint() instanceof ApplicationContextAware) {
              ((ApplicationContextAware) getEndpoint()).setApplicationContext(applicationContext);
          }
  
          if (getEndpoint() instanceof BeanFactoryAware) {
              ((BeanFactoryAware) getEndpoint()).setBeanFactory(applicationContext);
          }
  
          return this;
      }