I have started work on fixing this. One of the issues (though not directly related) i see
in this registry, is this:
| Class<?> beanClass = advisor.getClazz();
| for(Method beanMethod : ClassHelper.getAllMethods(beanClass))
| {
| interceptorsAnnotation = (Interceptors) advisor.resolveAnnotation(beanMethod,
Interceptors.class);
| List<Class<?>> methodInterceptorClasses = new
ArrayList<Class<?>>();
| if(interceptorsAnnotation != null)
| {
| for(Class<?> interceptorClass : interceptorsAnnotation.value())
| methodInterceptorClasses.add(interceptorClass);
| }
|
| ...
From the EJB3 spec:
anonymous wrote : Interceptors are used to interpose on business method invocations and
lifecycle events that occur on an enterprise bean instance.
So, using
ClassHelper.getAllMethods(beanClass)
doesn't look right.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206865#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...