Hello, While toying with interceptors I constated that my method level interceptors were not called if no class level interceptor is defined. So this doesn't work:
| @Stateless | @Remote(TestStateless.class) | public class TestStatelessBean implements TestStateless { | | @EJB | private EJBSec secBean; | | @Interceptors({TracingInterceptor.class}) | public String callMe(int x) { | System.out.println("some test: " + x); | return "tata " + secBean.sayHello("one!"); | } | | | @Interceptors({TracingInterceptor.class}) | public void callMeToo(int x) { | System.out.println("call me too"); | | } | } But just add a class level interceptor and the method ones are called. I quickly scanned the specs and I don't think this is intended behaviour... is it? I'm using jboss-EJB-3.0_RC4-PFD. Eric. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920418#3920418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920418 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user