users@ejb-spec.java.net

[ejb-spec users] Re: A small interceptor question

From: Pete Muir <pmuir_at_bleepbleep.org.uk>
Date: Fri, 26 Oct 2012 15:06:04 +0100

On 26 Oct 2012, at 14:59, Jean-Louis MONTEIRO wrote:

> 2012/10/26 Pete Muir <pmuir_at_bleepbleep.org.uk>
> >> There is a different behavior if the inherited class is a component or a simple class for EJB.
>
> What is this difference?
>
>
> 4.9.2.1 Session Bean Superclass
> --> says that no behavior inherited from another component (ie. session bean)
>
> 4.9.2 Session Bean Class
> --> non-component-defining annotations are inherited by the subclass
>
> Don't you have the same reading?

Sorry, I was being lazy ;-)

Anyway, this is still not really the issue, AIUI.

We're talking about if a subclass adds an interceptor, is it applied to the methods defined on the superclass, or not? (Mark, correct me if I got that wrong).