code: public void setBeanNameGenerator(BeanNameGenerator beanNameGenerator) {
  		this.annotatedReader.setBeanNameGenerator(beanNameGenerator);
  		this.xmlReader.setBeanNameGenerator(beanNameGenerator);
  		this.scanner.setBeanNameGenerator(beanNameGenerator);
  	}
docs: Set the bean name generator to be used by the underlying readers and scanner.
  @param beanNameGenerator the bean name generator