1 Reply Latest reply on Oct 26, 2007 12:36 PM by Thomas Gerhards

    How to exclude default interceptors for all @Destroy methods

    Thomas Gerhards Newbie

      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