This content has been marked as final.
Show 3 replies
-
1. Re: WARN message in InterceptorsFactory
jaikiran Jun 5, 2009 5:34 AM (in response to jaikiran)"jaikiran" wrote:
Any reason why we should not remove this InterceptorsFactory from ejb3-interceptors-aop.xml AOP advices?
Should have read EJBTHREE-1246, before asking this :) The comments there say:
The ejb3-interceptors can run in multiple modes, two of which are AOP weaved interception (basic) and Container managed interception (direct, proxy and indirect). For EJB lifecycle callbacks to be properly handled in 'basic' mode InterceptorsFactory and InjectInterceptorsFactory are used. Both of which do nothing if used in 'container' mode and will give out a warning as such.
In my opinion, it should not be a WARN message then. Probably a DEBUG would be right. -
2. Re: WARN message in InterceptorsFactory
wolfc Jun 5, 2009 6:42 AM (in response to jaikiran)No, it really means what it says. The construct should not be used, it does nothing anyway. :-)
So try to remove that construct from core and test for regression. -
3. Re: WARN message in InterceptorsFactory
jaikiran Jun 8, 2009 4:50 AM (in response to jaikiran)Removing this from the core (ejb3-interceptors-aop.xml) and running the entire testsuite shows no regressions.