this is correct behavior. it IS in the spec - don't ask me exactly where. there
have been posts here already related to that.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3956493#3956493
Reply to the post :
Ok, I looked at the spec again, and it says it intercepts *business* methods
(which are public, among other things I think). However, if I make the
internal methods public, it still does not intercept them when they are called
internally.
View the original post :
Interceptors only work if you call the method via a bean reference (i.e., one
you got from JNDI). By calling the method via a bean reference, the server has
a chance to determine that an interceptor exists and can deflect the method
call to the interceptor. But, within the bean, if you call
PeterJ wrote : Interceptors only work if you call the method via a bean
reference (i.e., one you got from JNDI). By calling the method via a bean
reference, the server has a chance to determine that an interceptor exists and
can deflect the method call to the interceptor. But, within the