for (Method method : clazz.getMethods()) {
for (Class<?> exception : method.getExceptionTypes()) {
ApplicationException annotation = exception.getAnnotation(ApplicationException.class);
if (annotation == null) continue;
if (assemblyDescriptor.getApplicationException(exception) != null) continue;
assemblyDescriptor.addApplicationException(exception, annotation.rollback());
}
}
}
private void processSessionInterfaces(SessionBean sessionBean, Class<?> beanClass, EjbModule ejbModule) {