throw new UnsatisfiedDependencyException("Api type : " + type.getName() + " is not found");
}
if (resolvedSet.size() > 1)
{
throw new AmbiguousDependencyException("There is more than one api type with : " + type.getName());
}
Bean<T> bean = resolvedSet.iterator().next();
WebBeansUtil.checkUnproxiableApiType(bean, bean.getScopeType().getAnnotation(ScopeType.class));