Weld1(beanssize1)mok2pok
BeanManagerImpl:
public
if (beans == null || beans.isEmpty()) {
return null;
}
Set
if (resolvedBeans.size() == 1) {
return resolvedBeans.iterator().next();
[]
AbstractTypeSafeBeanResolver:
public
if (beans.size() <= 1) {
return beans;
}
[]
> Set1
AmbiguousResolutionException1null(1)
: BeanManager.html#resolve(java.util.Set) javadoc)
(…BeanManagerSPI(Service Provider Interface)()resolve)