[jboss-user] [EJB 3.0] - How to exclude default interceptors for all @Destroy methods

JUnkie do-not-reply at jboss.com
Fri Oct 26 12:35:06 EDT 2007


I have several stateful session beans and I don't want the default interceptors being executed for their @Destroy @Remove annoted methods.

Is there a way to do that in the ejb-jar.xml?

Or do I have to annote every single method with @ExcludeDefaultInterceptors?

Haven't found anything about that neither on the web nor in my EJB 3 book (Burke).

Thanks

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

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



More information about the jboss-user mailing list