[
http://jira.jboss.com/jira/browse/EJBTHREE-471?page=all ]
Carlo de Wolf reassigned EJBTHREE-471:
--------------------------------------
Assignee: Carlo de Wolf
Interceptors not being called for business methods implemented by
superclass
----------------------------------------------------------------------------
Key: EJBTHREE-471
URL:
http://jira.jboss.com/jira/browse/EJBTHREE-471
Project: EJB 3.0
Issue Type: Bug
Affects Versions: EJB 3.0 RC5 - PFD
Environment: JBoss 4.0.4RC1, Sun JDK1.5.0_6, Linux - Fedora Core 4
Reporter: Andrew May
Assigned To: Carlo de Wolf
Fix For: AS 5.0.0.CR1
Attachments: intercept.zip
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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira