You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by Rohit Kelapure <ke...@gmail.com> on 2010/03/17 14:14:47 UTC

JSR-299 based interceptors and decorators are not supported for EJB Beans

Currently the InterceptorHandler javadoc states that OWB delegates
calling of "EJB Beans" interceptors to the EJB container. It does not
provide built-in interceptor and decorator support for EJB beans.
 i.e. if an EJB bean has JSR299 interceptors and decorators, they will
not be called.

How would I go about adding this support to OWB ? I would like to
provide a hook point for other EE containers to call into the OWB
interceptor and decorator processing after they have finished
processing the EJB 3.0 interceptors on the EJB bean

I expect we will need to create some sort of a
DelegatingInterceptorInvocationContext to call the JSR299 interceptor
bindings and decorators.

Any thoughts ?

--Thanks,
Rohit

Re: JSR-299 based interceptors and decorators are not supported for EJB Beans

Posted by Gurkan Erdogdu <gu...@yahoo.com>.
Point is that somehow EJB container integrates with OWB container regard to decorators and interceptors.


________________________________
From: Eric Covener <co...@gmail.com>
To: dev@openwebbeans.apache.org
Sent: Wed, March 24, 2010 4:41:17 PM
Subject: Re: JSR-299 based interceptors and decorators are not supported for  EJB Beans

On Wed, Mar 17, 2010 at 9:32 AM, Gurkan Erdogdu
<cg...@gmail.com> wrote:
> Hi Rohit,
>
> We are under the interceptor re-design. But basically, we will create a some
> utility methods that can be called by the EJB container to call interceptors
> and decorators.

Is this only needed when the EJB is in a bean archive, or always?  The
last bullet for interceptor/decorator resoluton is not 100% clear wrt
EJB.

-- 
Eric Covener
covener@gmail.com



      ___________________________________________________________________
Yahoo! Türkiye açıldı!  http://yahoo.com.tr
İnternet üzerindeki en iyi içeriği Yahoo! Türkiye sizlere sunuyor!

Re: JSR-299 based interceptors and decorators are not supported for EJB Beans

Posted by Eric Covener <co...@gmail.com>.
On Wed, Mar 17, 2010 at 9:32 AM, Gurkan Erdogdu
<cg...@gmail.com> wrote:
> Hi Rohit,
>
> We are under the interceptor re-design. But basically, we will create a some
> utility methods that can be called by the EJB container to call interceptors
> and decorators.

Is this only needed when the EJB is in a bean archive, or always?  The
last bullet for interceptor/decorator resoluton is not 100% clear wrt
EJB.

-- 
Eric Covener
covener@gmail.com

Re: JSR-299 based interceptors and decorators are not supported for EJB Beans

Posted by Gurkan Erdogdu <cg...@gmail.com>.
Hi Rohit,

We are under the interceptor re-design. But basically, we will create a some
utility methods that can be called by the EJB container to call interceptors
and decorators.

I will try to do for OpenEJB and then can share it with you.

Thanks;

--Gurkan

2010/3/17 Rohit Kelapure <ke...@gmail.com>

> Currently the InterceptorHandler javadoc states that OWB delegates
> calling of "EJB Beans" interceptors to the EJB container. It does not
> provide built-in interceptor and decorator support for EJB beans.
>  i.e. if an EJB bean has JSR299 interceptors and decorators, they will
> not be called.
>
> How would I go about adding this support to OWB ? I would like to
> provide a hook point for other EE containers to call into the OWB
> interceptor and decorator processing after they have finished
> processing the EJB 3.0 interceptors on the EJB bean
>
> I expect we will need to create some sort of a
> DelegatingInterceptorInvocationContext to call the JSR299 interceptor
> bindings and decorators.
>
> Any thoughts ?
>
> --Thanks,
> Rohit
>



-- 
Gurkan Erdogdu
http://gurkanerdogdu.blogspot.com