code: public static EntityScanPackages get(BeanFactory beanFactory) {
  		// Currently we only store a single base package, but we return a list to
  		// allow this to change in the future if needed
  		try {
  			return beanFactory.getBean(BEAN, EntityScanPackages.class);
  		}
  		catch (NoSuchBeanDefinitionException ex) {
  			return NONE;
  		}
  	}
docs: Return the {@link EntityScanPackages} for the given bean factory.
  @param beanFactory the source bean factory
  @return the {@link EntityScanPackages} for the bean factory (never {@code null})