code: protected void postProcessApplicationContext(ConfigurableApplicationContext context) {
  		if (this.beanNameGenerator != null) {
  			context.getBeanFactory().registerSingleton(
  					AnnotationConfigUtils.CONFIGURATION_BEAN_NAME_GENERATOR,
  					this.beanNameGenerator);
  		}
  		if (this.resourceLoader != null) {
  			if (context instanceof GenericApplicationContext) {
  				((GenericApplicationContext) context)
  						.setResourceLoader(this.resourceLoader);
  			}
  			if (context instanceof DefaultResourceLoader) {
  				((DefaultResourceLoader) context)
  						.setClassLoader(this.resourceLoader.getClassLoader());
  			}
  		}
  		if (this.addConversionService) {
  			context.getBeanFactory().setConversionService(
  					ApplicationConversionService.getSharedInstance());
  		}
  	}
docs: Apply any relevant post processing the {@link ApplicationContext}. Subclasses can
  apply additional processing as required.
  @param context the application context