[jboss-dev-forums] [Design of EJB 3.0] - Re: WARN logs in InterceptorRegistry

wolfc do-not-reply at jboss.com
Wed Feb 4 07:49:03 EST 2009


"EJB 3.0 Chapter 12" wrote : Interceptors are used to interpose on business method invocations and lifecycle events that occur on an enterprise bean instance.
The keyword here is 'invocations'.
Let's just say that it's beyond the scope of InterceptorRegistry to identify business methods and that getApplicableInterceptorClasses assumes that the argument is a business method.
"jaikiran" wrote : There wont be any interceptors applicable (i.e. methodApplicapleInterceptorClasses == null) for that business method. 
methodApplicableInterceptorClasses must not be null,  it must be an empty list.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4206943#4206943

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4206943



More information about the jboss-dev-forums mailing list