}
/* 19.2: ejb-name: Default is the unqualified name of the bean class */
EjbJar ejbJar = ejbModule.getEjbJar();
List<Class> classes = finder.findAnnotatedClasses(Stateless.class);
for (Class<?> beanClass : classes) {
Stateless stateless = beanClass.getAnnotation(Stateless.class);
String ejbName = getEjbName(stateless, beanClass);
if (!isValidAnnotationUsage(Stateless.class, beanClass, ejbName, ejbModule)) continue;