annotationHelper.addClassAnnotation(bean.getEjbClass(), ExcludeClassInterceptors.class, properties);
}
annotationHelper.addClassAnnotation(bean.getEjbClass(), Interceptors.class, properties);
} else {
NamedMethod method = interceptorBinding.getMethod();
String[] signature = method.getMethodParams().getMethodParam().toArray(new String[0]);
if (interceptorBinding.getExcludeDefaultInterceptors()) {
annotationHelper.addMethodAnnotation(bean.getEjbClass(), method.getMethodName(), signature, ExcludeDefaultInterceptors.class, properties);
}
if (interceptorBinding.getExcludeClassInterceptors()) {
annotationHelper.addMethodAnnotation(bean.getEjbClass(), method.getMethodName(), signature, ExcludeClassInterceptors.class, properties);
}
annotationHelper.addMethodAnnotation(bean.getEjbClass(), method.getMethodName(), signature, Interceptors.class, properties);
}
} catch (Exception e) {
String warning = String.format(Messages.getString("org.apache.openejb.helper.annotation.warnings.12"), "@javax.interceptor.Interceptors", bean.getEjbClass());
annotationHelper.addWarning(warning);
}