users@glassfish.java.net

Re: Interceptors & inheritance

From: <glassfish_at_javadesktop.org>
Date: Mon, 04 Feb 2008 22:28:27 PST

I think it's quite contrary to what you said.

EJB 3.0 - 12.4.1 Multiple Callback Interceptor Methods for a Life Cycle Callback Event:

[i]If an interceptor class itself has superclasses, the lifecycle callback interceptor methods defined by the interceptor class’s superclasses are invoked before the lifecycle callback interceptor method defined by the interceptor class, most general superclass first.[/i]

and later on:

[i]After the lifecycle callback interceptor methods defined on interceptor classes have been invoked, then:
* If a bean class has superclasses, any lifecycle callback interceptor methods defined on those superclasses are invoked, most general superclass first.[/i]

Jacek
http://www.jaceklaskowski.pl
[Message sent by forum member 'jlaskowski' (jlaskowski)]

http://forums.java.net/jive/thread.jspa?messageID=257376