[JBoss-user] [EJB 3.0] - Re: Interceptors not fired on methods called from within bea

2006-07-10 Thread abl
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 :

[JBoss-user] [EJB 3.0] - Re: Interceptors not fired on methods called from within bea

2006-07-10 Thread jnorris10
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 :

[JBoss-user] [EJB 3.0] - Re: Interceptors not fired on methods called from within bea

2006-07-10 Thread PeterJ
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

[JBoss-user] [EJB 3.0] - Re: Interceptors not fired on methods called from within bea

2006-07-10 Thread jnorris10
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