A variant of ObjectFactory designed specifically for injection points, allowing for programmatic opt
ionality and lenient not-unique handling.
As of 5.1, this interface extends Iterable and provides Stream support. It can be therefore be used in for loops, provides #forEach iteration and allows for collection-style #stream access. @author Juergen Hoeller @since 4.3 @param the object type @see BeanFactory#getBeanProvider @see org.springframework.beans.factory.annotation.Autowired