Hello,
In AnnotationDeployer # processCallbacks method, there is a check for each
callback/around....configuration,
LifecycleCallback postConstruct = getFirst(bean.getPostConstruct());
if(postConstruct == null){
for (Method method : classFinder.findAnnotatedMethods(PostConstruct.class)) {
......
}
}
Firstly, code checks that callback is defined on deployment descriptor, if it
is
defined, no more annotation check is done. I think that this is not correct
behaviour because it eats interceptors that are defined on "superclasses".
WDYT?
I will create an issue and attach patch if my observations are correct.
Regards;
--Gurkan