}
classAnnotationMetadata.setGlobalEasyBeansInterceptors(easyBeansGlobalInterceptors);
// Default interceptors (only once as it is stored in the ejb metadata)
EjbJarArchiveMetadata ejbJarDeployableMetadata = classAnnotationMetadata.getEjbJarDeployableMetadata();
IJInterceptors defaultInterceptorsClasses = ejbJarDeployableMetadata.getDefaultInterceptorsClasses();
Map<InterceptorType, List<? extends IJClassInterceptor>> mapDefaultInterceptors =
ejbJarDeployableMetadata.getDefaultInterceptors();
if (mapDefaultInterceptors == null && defaultInterceptorsClasses != null && defaultInterceptorsClasses.size() > 0) {
Map<InterceptorType, List<? extends IJClassInterceptor>> defaultInterceptors =
new HashMap<InterceptorType, List<? extends IJClassInterceptor>>();
defaultInterceptors.putAll(getInterceptors(classAnnotationMetadata.getClassName(), classAnnotationMetadata,
defaultInterceptorsClasses.getClasses()));
ejbJarDeployableMetadata.setDefaultInterceptors(defaultInterceptors);
}
// And then, set the user interceptors (found in external class)
List<String> externalInterceptorsClasses = new ArrayList<String>();