List<Class> interfaceClasses = new ArrayList<Class>();
for (String interfaceClass : interfaces) {
Class resolvedClassName = ClassUtils.resolveClassName(interfaceClass.trim(), getBeanClassLoader());
if (!resolvedClassName.isAssignableFrom(bean.getClass())) {
throw new ExecutionException("Bean '" + beanName + "' is not instance of type " + resolvedClassName.getName() + ", declared in type list '" + typeList + "'");
}
interfaceClasses.add(resolvedClassName);
}
}