while (it.hasNext() == true) {
AvatarLoaderFactorySPI factory = it.next();
Class clazz = factory.getClass();
avatarLoaderMap.put(clazz.getName(), factory);
AvatarLoaderFactory a =
(AvatarLoaderFactory) clazz.getAnnotation(AvatarLoaderFactory.class);
if (a != null && a.isDefault() == true) {
defaultAvatarLoaderFactory = factory;
}
}
}
}