for (BeanType bean : mapping.getBean()) {
Class<?> beanClass = loadClass(bean.getClazz(), defaultPackage);
if (!processedClasses.add(beanClass)) {
// spec: A given class must not be described more than once amongst all
// the XML mapping descriptors.
throw new ValidationException(
beanClass.getName() + " has already be configured in xml.");
}
factory.getAnnotationIgnores()
.setDefaultIgnoreAnnotation(beanClass, bean.isIgnoreAnnotations());
processClassLevel(bean.getClassType(), beanClass, defaultPackage);