public static <T> void checkResolvedBeans(Set<Bean<T>> resolvedSet, Class<?> type)
{
if (resolvedSet.isEmpty())
{
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());