Details
-
Bug
-
Resolution: Cannot Reproduce
-
Major
-
EJB 3.0 RC5 - PFD
-
None
-
None
-
Workaround Exists
-
Description
I have an abstract superclass for a number of stateless session beans that provide DAO-like functionality - the superclass provides CRUD functionality for a generic type. I am trying to add external interceptors (that contain @AroundInvoke methods), but the interceptors are not being called for any of the business methods implemented by the super-class (I've tried putting @Interceptors on the subclasses and/or the superclass).
I think that's a bug - at least it's not what I expected to happen. As far as I can tell the section on interceptors in the ejbcore spec doesn't explicitly state what the behaviour should be.
This is different to issue EJBTHREE-376 that concerned @AroundInvoke methods in superclasses - and the test cases added for that bug do not include any business methods implemented by the superclass.
I will attach my simplified test case.