You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by Eric Covener <co...@gmail.com> on 2010/05/19 20:25:35 UTC
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
covener@gmail.com
Re: ejb interceptor ordering
Posted by Gurkan Erdogdu <gu...@yahoo.com>.
>>>My thought was that defined-in-ejb-bean-class would remain last:
>>>@Interceptors, @InterceptorBinding, defined-in-ejb-bean-class,
+1
Gurkan
________________________________
From: Eric Covener <co...@gmail.com>
To: dev@openwebbeans.apache.org
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
covener@gmail.com