>>>My thought was that defined-in-ejb-bean-class would remain last:
>>>@Interceptors, @InterceptorBinding, defined-in-ejb-bean-class,

+1

Gurkan




________________________________
From: Eric Covener <[email protected]>
To: [email protected]
Sent: Wed, May 19, 2010 9:25:35 PM
Subject: ejb interceptor ordering

299 says @InterceptorBinding bound interceptors are run after
@Interceptors/ejb-jar.xml
Interceptor spec says defined-in-class interceptors run after @Interceptors

Should defined-in-ejb-class interceptors run before or after
299/@InterceptorBinding interceptors?

My thought was that defined-in-ejb-bean-class would remain last:
@Interceptors, @InterceptorBinding, defined-in-ejb-bean-class,

But I think the current tomcat/ejb integration implements it the other way:
@Interceptors, defined-in-ejb-bean-class, @InterceptorBinding

Any opinions/interpretations?

-- 
Eric Covener
[email protected]


Reply via email to